@autifyhq/autify-sdk 0.8.0 → 0.10.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.
- package/dist/generated/mobile/client.d.ts +1 -1
- package/dist/generated/web/client.d.ts +7 -4
- package/dist/generated/web/client.js +6 -3
- package/dist/generated/web/openapi/api.d.ts +88 -132
- package/dist/generated/web/openapi/api.js +41 -33
- package/dist/generated/web/openapi/base.d.ts +1 -1
- package/dist/generated/web/openapi/base.js +1 -1
- package/dist/generated/web/openapi/common.d.ts +1 -1
- package/dist/generated/web/openapi/common.js +1 -1
- package/dist/generated/web/openapi/configuration.d.ts +1 -1
- package/dist/generated/web/openapi/configuration.js +1 -1
- package/dist/generated/web/openapi/index.d.ts +1 -1
- package/dist/generated/web/openapi/index.js +1 -1
- package/package.json +18 -18
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from "axios";
|
|
2
2
|
import { DescribeTestResult200Response, ListTestResults200Response, RunTestPlan201Response, RunTestPlanRequest, UploadBuild201Response } from "./openapi";
|
|
3
3
|
export { BASE_PATH as MOBILE_BASE_PATH } from "./openapi/base";
|
|
4
|
-
|
|
4
|
+
type Options = Readonly<{
|
|
5
5
|
basePath?: string;
|
|
6
6
|
userAgent?: string;
|
|
7
7
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from "axios";
|
|
2
2
|
import { AccessPoint, CapabilityOption, CreateAccessPointRequest, CreateAccessPointResult, CreateUrlReplacementRequest, DeleteAccessPointRequest, DescribeResult200Response, ExecuteScenariosRequest, ExecuteScenariosResult, ExecuteSchedule200Response, ExecuteScheduleRequest, Scenario, TestPlanResult, UpdateUrlReplacementRequest, UrlReplacement } from "./openapi";
|
|
3
3
|
export { BASE_PATH as WEB_BASE_PATH } from "./openapi/base";
|
|
4
|
-
|
|
4
|
+
type Options = Readonly<{
|
|
5
5
|
basePath?: string;
|
|
6
6
|
userAgent?: string;
|
|
7
7
|
}>;
|
|
@@ -50,7 +50,8 @@ export declare class WebClient {
|
|
|
50
50
|
listCapabilities(projectId: number, os?: string, browser?: string, deviceType?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CapabilityOption[], any>>;
|
|
51
51
|
private readonly resultApi;
|
|
52
52
|
/**
|
|
53
|
-
* Get a result.
|
|
53
|
+
* Get a test result.
|
|
54
|
+
* @summary Get a test result.
|
|
54
55
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
55
56
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
56
57
|
* @param {*} [options] Override http request option.
|
|
@@ -59,7 +60,8 @@ export declare class WebClient {
|
|
|
59
60
|
*/
|
|
60
61
|
describeResult(projectId: number, resultId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any>>;
|
|
61
62
|
/**
|
|
62
|
-
* List results.
|
|
63
|
+
* List test results.
|
|
64
|
+
* @summary List test results.
|
|
63
65
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
64
66
|
* @param {number} [page] The number of page returns.
|
|
65
67
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -99,7 +101,8 @@ export declare class WebClient {
|
|
|
99
101
|
listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario[], any>>;
|
|
100
102
|
private readonly scheduleApi;
|
|
101
103
|
/**
|
|
102
|
-
*
|
|
104
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
105
|
+
* @summary Run a test plan.
|
|
103
106
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
104
107
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
105
108
|
* @param {*} [options] Override http request option.
|
|
@@ -89,7 +89,8 @@ class WebClient {
|
|
|
89
89
|
return this.capabilityApi.listCapabilities(projectId, os, browser, deviceType, options);
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* Get a result.
|
|
92
|
+
* Get a test result.
|
|
93
|
+
* @summary Get a test result.
|
|
93
94
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
94
95
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
95
96
|
* @param {*} [options] Override http request option.
|
|
@@ -100,7 +101,8 @@ class WebClient {
|
|
|
100
101
|
return this.resultApi.describeResult(projectId, resultId, options);
|
|
101
102
|
}
|
|
102
103
|
/**
|
|
103
|
-
* List results.
|
|
104
|
+
* List test results.
|
|
105
|
+
* @summary List test results.
|
|
104
106
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
105
107
|
* @param {number} [page] The number of page returns.
|
|
106
108
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -146,7 +148,8 @@ class WebClient {
|
|
|
146
148
|
return this.scenarioApi.listScenarios(projectId, page, options);
|
|
147
149
|
}
|
|
148
150
|
/**
|
|
149
|
-
*
|
|
151
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
152
|
+
* @summary Run a test plan.
|
|
150
153
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
151
154
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
152
155
|
* @param {*} [options] Override http request option.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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).
|
|
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -158,6 +158,12 @@ export interface CapabilityOption {
|
|
|
158
158
|
* @memberof CapabilityOption
|
|
159
159
|
*/
|
|
160
160
|
unsupported?: boolean;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {boolean}
|
|
164
|
+
* @memberof CapabilityOption
|
|
165
|
+
*/
|
|
166
|
+
no_new_registration?: boolean;
|
|
161
167
|
}
|
|
162
168
|
/**
|
|
163
169
|
*
|
|
@@ -325,10 +331,10 @@ export interface DescribeResult200Response {
|
|
|
325
331
|
id?: number;
|
|
326
332
|
/**
|
|
327
333
|
*
|
|
328
|
-
* @type {
|
|
334
|
+
* @type {TestPlanResultStatus}
|
|
329
335
|
* @memberof DescribeResult200Response
|
|
330
336
|
*/
|
|
331
|
-
status?:
|
|
337
|
+
status?: TestPlanResultStatus;
|
|
332
338
|
/**
|
|
333
339
|
*
|
|
334
340
|
* @type {number}
|
|
@@ -361,82 +367,22 @@ export interface DescribeResult200Response {
|
|
|
361
367
|
updated_at?: string;
|
|
362
368
|
/**
|
|
363
369
|
*
|
|
364
|
-
* @type {
|
|
370
|
+
* @type {boolean}
|
|
365
371
|
* @memberof DescribeResult200Response
|
|
366
372
|
*/
|
|
367
|
-
|
|
373
|
+
review_needed?: boolean;
|
|
368
374
|
/**
|
|
369
375
|
*
|
|
370
|
-
* @type {
|
|
376
|
+
* @type {Array<TestPlanCapabilityResult>}
|
|
371
377
|
* @memberof DescribeResult200Response
|
|
372
378
|
*/
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
export declare const DescribeResult200ResponseStatusEnum: {
|
|
376
|
-
readonly Queuing: "queuing";
|
|
377
|
-
readonly Waiting: "waiting";
|
|
378
|
-
readonly Running: "running";
|
|
379
|
-
readonly Passed: "passed";
|
|
380
|
-
readonly Failed: "failed";
|
|
381
|
-
readonly Skipped: "skipped";
|
|
382
|
-
readonly InternalError: "internal_error";
|
|
383
|
-
};
|
|
384
|
-
export declare type DescribeResult200ResponseStatusEnum = typeof DescribeResult200ResponseStatusEnum[keyof typeof DescribeResult200ResponseStatusEnum];
|
|
385
|
-
/**
|
|
386
|
-
*
|
|
387
|
-
* @export
|
|
388
|
-
* @interface DescribeResult200ResponseTestPlan
|
|
389
|
-
*/
|
|
390
|
-
export interface DescribeResult200ResponseTestPlan {
|
|
391
|
-
/**
|
|
392
|
-
*
|
|
393
|
-
* @type {number}
|
|
394
|
-
* @memberof DescribeResult200ResponseTestPlan
|
|
395
|
-
*/
|
|
396
|
-
id?: number;
|
|
397
|
-
/**
|
|
398
|
-
*
|
|
399
|
-
* @type {string}
|
|
400
|
-
* @memberof DescribeResult200ResponseTestPlan
|
|
401
|
-
*/
|
|
402
|
-
name?: string;
|
|
379
|
+
test_plan_capability_results?: Array<TestPlanCapabilityResult>;
|
|
403
380
|
/**
|
|
404
381
|
*
|
|
405
|
-
* @type {
|
|
406
|
-
* @memberof
|
|
407
|
-
*/
|
|
408
|
-
created_at?: string;
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @type {string}
|
|
412
|
-
* @memberof DescribeResult200ResponseTestPlan
|
|
413
|
-
*/
|
|
414
|
-
updated_at?: string;
|
|
415
|
-
}
|
|
416
|
-
/**
|
|
417
|
-
*
|
|
418
|
-
* @export
|
|
419
|
-
* @interface DescribeResult200ResponseTestPlanCapabilityResultsInner
|
|
420
|
-
*/
|
|
421
|
-
export interface DescribeResult200ResponseTestPlanCapabilityResultsInner {
|
|
422
|
-
/**
|
|
423
|
-
*
|
|
424
|
-
* @type {number}
|
|
425
|
-
* @memberof DescribeResult200ResponseTestPlanCapabilityResultsInner
|
|
426
|
-
*/
|
|
427
|
-
id?: number;
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
* @type {Capability}
|
|
431
|
-
* @memberof DescribeResult200ResponseTestPlanCapabilityResultsInner
|
|
432
|
-
*/
|
|
433
|
-
capability?: Capability;
|
|
434
|
-
/**
|
|
435
|
-
*
|
|
436
|
-
* @type {Array<TestCaseResult>}
|
|
437
|
-
* @memberof DescribeResult200ResponseTestPlanCapabilityResultsInner
|
|
382
|
+
* @type {TestPlan}
|
|
383
|
+
* @memberof DescribeResult200Response
|
|
438
384
|
*/
|
|
439
|
-
|
|
385
|
+
test_plan?: TestPlan | null;
|
|
440
386
|
}
|
|
441
387
|
/**
|
|
442
388
|
*
|
|
@@ -549,7 +495,7 @@ export declare const ExecuteScenariosRequestExecutionTypeEnum: {
|
|
|
549
495
|
readonly Parallel: "parallel";
|
|
550
496
|
readonly Sequential: "sequential";
|
|
551
497
|
};
|
|
552
|
-
export
|
|
498
|
+
export type ExecuteScenariosRequestExecutionTypeEnum = typeof ExecuteScenariosRequestExecutionTypeEnum[keyof typeof ExecuteScenariosRequestExecutionTypeEnum];
|
|
553
499
|
/**
|
|
554
500
|
*
|
|
555
501
|
* @export
|
|
@@ -849,10 +795,10 @@ export interface TestCaseResult {
|
|
|
849
795
|
id?: number;
|
|
850
796
|
/**
|
|
851
797
|
*
|
|
852
|
-
* @type {
|
|
798
|
+
* @type {TestCaseResultStatus}
|
|
853
799
|
* @memberof TestCaseResult
|
|
854
800
|
*/
|
|
855
|
-
status?:
|
|
801
|
+
status?: TestCaseResultStatus;
|
|
856
802
|
/**
|
|
857
803
|
*
|
|
858
804
|
* @type {number}
|
|
@@ -884,7 +830,7 @@ export interface TestCaseResult {
|
|
|
884
830
|
*/
|
|
885
831
|
updated_at?: string;
|
|
886
832
|
/**
|
|
887
|
-
*
|
|
833
|
+
* ID of the scenario executed.
|
|
888
834
|
* @type {number}
|
|
889
835
|
* @memberof TestCaseResult
|
|
890
836
|
*/
|
|
@@ -896,21 +842,27 @@ export interface TestCaseResult {
|
|
|
896
842
|
*/
|
|
897
843
|
project_url?: string;
|
|
898
844
|
/**
|
|
899
|
-
*
|
|
845
|
+
* Number of \"Review needed\" flags present in the test results.
|
|
900
846
|
* @type {number}
|
|
901
847
|
* @memberof TestCaseResult
|
|
902
848
|
*/
|
|
903
849
|
review_needed?: number;
|
|
904
850
|
}
|
|
905
|
-
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @export
|
|
854
|
+
* @enum {string}
|
|
855
|
+
*/
|
|
856
|
+
export declare const TestCaseResultStatus: {
|
|
906
857
|
readonly Waiting: "waiting";
|
|
907
858
|
readonly Running: "running";
|
|
908
859
|
readonly Passed: "passed";
|
|
909
860
|
readonly Failed: "failed";
|
|
910
861
|
readonly Skipped: "skipped";
|
|
911
862
|
readonly InternalError: "internal_error";
|
|
863
|
+
readonly Canceled: "canceled";
|
|
912
864
|
};
|
|
913
|
-
export
|
|
865
|
+
export type TestCaseResultStatus = typeof TestCaseResultStatus[keyof typeof TestCaseResultStatus];
|
|
914
866
|
/**
|
|
915
867
|
*
|
|
916
868
|
* @export
|
|
@@ -929,6 +881,18 @@ export interface TestPlan {
|
|
|
929
881
|
* @memberof TestPlan
|
|
930
882
|
*/
|
|
931
883
|
name?: string;
|
|
884
|
+
/**
|
|
885
|
+
*
|
|
886
|
+
* @type {string}
|
|
887
|
+
* @memberof TestPlan
|
|
888
|
+
*/
|
|
889
|
+
created_at?: string;
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @type {string}
|
|
893
|
+
* @memberof TestPlan
|
|
894
|
+
*/
|
|
895
|
+
updated_at?: string;
|
|
932
896
|
}
|
|
933
897
|
/**
|
|
934
898
|
*
|
|
@@ -944,50 +908,17 @@ export interface TestPlanCapabilityResult {
|
|
|
944
908
|
id?: number;
|
|
945
909
|
/**
|
|
946
910
|
*
|
|
947
|
-
* @type {
|
|
948
|
-
* @memberof TestPlanCapabilityResult
|
|
949
|
-
*/
|
|
950
|
-
status?: TestPlanCapabilityResultStatusEnum;
|
|
951
|
-
/**
|
|
952
|
-
*
|
|
953
|
-
* @type {number}
|
|
954
|
-
* @memberof TestPlanCapabilityResult
|
|
955
|
-
*/
|
|
956
|
-
duration?: number;
|
|
957
|
-
/**
|
|
958
|
-
*
|
|
959
|
-
* @type {string}
|
|
960
|
-
* @memberof TestPlanCapabilityResult
|
|
961
|
-
*/
|
|
962
|
-
started_at?: string;
|
|
963
|
-
/**
|
|
964
|
-
*
|
|
965
|
-
* @type {string}
|
|
966
|
-
* @memberof TestPlanCapabilityResult
|
|
967
|
-
*/
|
|
968
|
-
finished_at?: string;
|
|
969
|
-
/**
|
|
970
|
-
*
|
|
971
|
-
* @type {string}
|
|
911
|
+
* @type {Capability}
|
|
972
912
|
* @memberof TestPlanCapabilityResult
|
|
973
913
|
*/
|
|
974
|
-
|
|
914
|
+
capability?: Capability;
|
|
975
915
|
/**
|
|
976
916
|
*
|
|
977
|
-
* @type {
|
|
917
|
+
* @type {Array<TestCaseResult>}
|
|
978
918
|
* @memberof TestPlanCapabilityResult
|
|
979
919
|
*/
|
|
980
|
-
|
|
920
|
+
test_case_results?: Array<TestCaseResult>;
|
|
981
921
|
}
|
|
982
|
-
export declare const TestPlanCapabilityResultStatusEnum: {
|
|
983
|
-
readonly Waiting: "waiting";
|
|
984
|
-
readonly Running: "running";
|
|
985
|
-
readonly Passed: "passed";
|
|
986
|
-
readonly Failed: "failed";
|
|
987
|
-
readonly Skipped: "skipped";
|
|
988
|
-
readonly InternalError: "internal_error";
|
|
989
|
-
};
|
|
990
|
-
export declare type TestPlanCapabilityResultStatusEnum = typeof TestPlanCapabilityResultStatusEnum[keyof typeof TestPlanCapabilityResultStatusEnum];
|
|
991
922
|
/**
|
|
992
923
|
*
|
|
993
924
|
* @export
|
|
@@ -1002,10 +933,10 @@ export interface TestPlanResult {
|
|
|
1002
933
|
id?: number;
|
|
1003
934
|
/**
|
|
1004
935
|
*
|
|
1005
|
-
* @type {
|
|
936
|
+
* @type {TestPlanResultStatus}
|
|
1006
937
|
* @memberof TestPlanResult
|
|
1007
938
|
*/
|
|
1008
|
-
status?:
|
|
939
|
+
status?: TestPlanResultStatus;
|
|
1009
940
|
/**
|
|
1010
941
|
*
|
|
1011
942
|
* @type {number}
|
|
@@ -1038,20 +969,33 @@ export interface TestPlanResult {
|
|
|
1038
969
|
updated_at?: string;
|
|
1039
970
|
/**
|
|
1040
971
|
*
|
|
1041
|
-
* @type {
|
|
972
|
+
* @type {boolean}
|
|
1042
973
|
* @memberof TestPlanResult
|
|
1043
974
|
*/
|
|
1044
|
-
|
|
975
|
+
review_needed?: boolean;
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @type {TestPlan}
|
|
979
|
+
* @memberof TestPlanResult
|
|
980
|
+
*/
|
|
981
|
+
test_plan?: TestPlan | null;
|
|
1045
982
|
}
|
|
1046
|
-
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @export
|
|
986
|
+
* @enum {string}
|
|
987
|
+
*/
|
|
988
|
+
export declare const TestPlanResultStatus: {
|
|
989
|
+
readonly Queuing: "queuing";
|
|
1047
990
|
readonly Waiting: "waiting";
|
|
1048
991
|
readonly Running: "running";
|
|
1049
992
|
readonly Passed: "passed";
|
|
1050
993
|
readonly Failed: "failed";
|
|
1051
994
|
readonly Skipped: "skipped";
|
|
1052
995
|
readonly InternalError: "internal_error";
|
|
996
|
+
readonly Canceled: "canceled";
|
|
1053
997
|
};
|
|
1054
|
-
export
|
|
998
|
+
export type TestPlanResultStatus = typeof TestPlanResultStatus[keyof typeof TestPlanResultStatus];
|
|
1055
999
|
/**
|
|
1056
1000
|
*
|
|
1057
1001
|
* @export
|
|
@@ -1312,7 +1256,8 @@ export declare class CapabilityApi extends BaseAPI {
|
|
|
1312
1256
|
*/
|
|
1313
1257
|
export declare const ResultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1314
1258
|
/**
|
|
1315
|
-
* Get a result.
|
|
1259
|
+
* Get a test result.
|
|
1260
|
+
* @summary Get a test result.
|
|
1316
1261
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1317
1262
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1318
1263
|
* @param {*} [options] Override http request option.
|
|
@@ -1320,7 +1265,8 @@ export declare const ResultApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1320
1265
|
*/
|
|
1321
1266
|
describeResult: (projectId: number, resultId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1322
1267
|
/**
|
|
1323
|
-
* List results.
|
|
1268
|
+
* List test results.
|
|
1269
|
+
* @summary List test results.
|
|
1324
1270
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
1325
1271
|
* @param {number} [page] The number of page returns.
|
|
1326
1272
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -1336,7 +1282,8 @@ export declare const ResultApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1336
1282
|
*/
|
|
1337
1283
|
export declare const ResultApiFp: (configuration?: Configuration) => {
|
|
1338
1284
|
/**
|
|
1339
|
-
* Get a result.
|
|
1285
|
+
* Get a test result.
|
|
1286
|
+
* @summary Get a test result.
|
|
1340
1287
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1341
1288
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1342
1289
|
* @param {*} [options] Override http request option.
|
|
@@ -1344,7 +1291,8 @@ export declare const ResultApiFp: (configuration?: Configuration) => {
|
|
|
1344
1291
|
*/
|
|
1345
1292
|
describeResult(projectId: number, resultId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DescribeResult200Response>>;
|
|
1346
1293
|
/**
|
|
1347
|
-
* List results.
|
|
1294
|
+
* List test results.
|
|
1295
|
+
* @summary List test results.
|
|
1348
1296
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
1349
1297
|
* @param {number} [page] The number of page returns.
|
|
1350
1298
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -1360,7 +1308,8 @@ export declare const ResultApiFp: (configuration?: Configuration) => {
|
|
|
1360
1308
|
*/
|
|
1361
1309
|
export declare const ResultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1362
1310
|
/**
|
|
1363
|
-
* Get a result.
|
|
1311
|
+
* Get a test result.
|
|
1312
|
+
* @summary Get a test result.
|
|
1364
1313
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1365
1314
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1366
1315
|
* @param {*} [options] Override http request option.
|
|
@@ -1368,7 +1317,8 @@ export declare const ResultApiFactory: (configuration?: Configuration, basePath?
|
|
|
1368
1317
|
*/
|
|
1369
1318
|
describeResult(projectId: number, resultId: number, options?: any): AxiosPromise<DescribeResult200Response>;
|
|
1370
1319
|
/**
|
|
1371
|
-
* List results.
|
|
1320
|
+
* List test results.
|
|
1321
|
+
* @summary List test results.
|
|
1372
1322
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
1373
1323
|
* @param {number} [page] The number of page returns.
|
|
1374
1324
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -1386,7 +1336,8 @@ export declare const ResultApiFactory: (configuration?: Configuration, basePath?
|
|
|
1386
1336
|
*/
|
|
1387
1337
|
export declare class ResultApi extends BaseAPI {
|
|
1388
1338
|
/**
|
|
1389
|
-
* Get a result.
|
|
1339
|
+
* Get a test result.
|
|
1340
|
+
* @summary Get a test result.
|
|
1390
1341
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1391
1342
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
1392
1343
|
* @param {*} [options] Override http request option.
|
|
@@ -1395,7 +1346,8 @@ export declare class ResultApi extends BaseAPI {
|
|
|
1395
1346
|
*/
|
|
1396
1347
|
describeResult(projectId: number, resultId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any>>;
|
|
1397
1348
|
/**
|
|
1398
|
-
* List results.
|
|
1349
|
+
* List test results.
|
|
1350
|
+
* @summary List test results.
|
|
1399
1351
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
1400
1352
|
* @param {number} [page] The number of page returns.
|
|
1401
1353
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -1537,7 +1489,8 @@ export declare class ScenarioApi extends BaseAPI {
|
|
|
1537
1489
|
*/
|
|
1538
1490
|
export declare const ScheduleApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1539
1491
|
/**
|
|
1540
|
-
*
|
|
1492
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
1493
|
+
* @summary Run a test plan.
|
|
1541
1494
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
1542
1495
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
1543
1496
|
* @param {*} [options] Override http request option.
|
|
@@ -1551,7 +1504,8 @@ export declare const ScheduleApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1551
1504
|
*/
|
|
1552
1505
|
export declare const ScheduleApiFp: (configuration?: Configuration) => {
|
|
1553
1506
|
/**
|
|
1554
|
-
*
|
|
1507
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
1508
|
+
* @summary Run a test plan.
|
|
1555
1509
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
1556
1510
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
1557
1511
|
* @param {*} [options] Override http request option.
|
|
@@ -1565,7 +1519,8 @@ export declare const ScheduleApiFp: (configuration?: Configuration) => {
|
|
|
1565
1519
|
*/
|
|
1566
1520
|
export declare const ScheduleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1567
1521
|
/**
|
|
1568
|
-
*
|
|
1522
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
1523
|
+
* @summary Run a test plan.
|
|
1569
1524
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
1570
1525
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
1571
1526
|
* @param {*} [options] Override http request option.
|
|
@@ -1581,7 +1536,8 @@ export declare const ScheduleApiFactory: (configuration?: Configuration, basePat
|
|
|
1581
1536
|
*/
|
|
1582
1537
|
export declare class ScheduleApi extends BaseAPI {
|
|
1583
1538
|
/**
|
|
1584
|
-
*
|
|
1539
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
1540
|
+
* @summary Run a test plan.
|
|
1585
1541
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
1586
1542
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
1587
1543
|
* @param {*} [options] Override http request option.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Autify API
|
|
6
|
-
* ## 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).
|
|
6
|
+
* ## 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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UrlReplacementApi = exports.UrlReplacementApiFactory = exports.UrlReplacementApiFp = exports.UrlReplacementApiAxiosParamCreator = exports.ScheduleApi = exports.ScheduleApiFactory = exports.ScheduleApiFp = exports.ScheduleApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.ResultApi = exports.ResultApiFactory = exports.ResultApiFp = exports.ResultApiAxiosParamCreator = exports.CapabilityApi = exports.CapabilityApiFactory = exports.CapabilityApiFp = exports.CapabilityApiAxiosParamCreator = exports.AutifyConnectApi = exports.AutifyConnectApiFactory = exports.AutifyConnectApiFp = exports.AutifyConnectApiAxiosParamCreator = exports.
|
|
16
|
+
exports.UrlReplacementApi = exports.UrlReplacementApiFactory = exports.UrlReplacementApiFp = exports.UrlReplacementApiAxiosParamCreator = exports.ScheduleApi = exports.ScheduleApiFactory = exports.ScheduleApiFp = exports.ScheduleApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.ResultApi = exports.ResultApiFactory = exports.ResultApiFp = exports.ResultApiAxiosParamCreator = exports.CapabilityApi = exports.CapabilityApiFactory = exports.CapabilityApiFp = exports.CapabilityApiAxiosParamCreator = exports.AutifyConnectApi = exports.AutifyConnectApiFactory = exports.AutifyConnectApiFp = exports.AutifyConnectApiAxiosParamCreator = exports.TestPlanResultStatus = exports.TestCaseResultStatus = exports.ExecuteScenariosRequestExecutionTypeEnum = void 0;
|
|
17
17
|
const tslib_1 = require("tslib");
|
|
18
18
|
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
19
19
|
// URLSearchParams not necessarily used
|
|
@@ -24,42 +24,38 @@ const url_1 = require("url");
|
|
|
24
24
|
const common_1 = require("./common");
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
const base_1 = require("./base");
|
|
27
|
-
exports.DescribeResult200ResponseStatusEnum = {
|
|
28
|
-
Queuing: "queuing",
|
|
29
|
-
Waiting: "waiting",
|
|
30
|
-
Running: "running",
|
|
31
|
-
Passed: "passed",
|
|
32
|
-
Failed: "failed",
|
|
33
|
-
Skipped: "skipped",
|
|
34
|
-
InternalError: "internal_error",
|
|
35
|
-
};
|
|
36
27
|
exports.ExecuteScenariosRequestExecutionTypeEnum = {
|
|
37
28
|
Parallel: "parallel",
|
|
38
29
|
Sequential: "sequential",
|
|
39
30
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
InternalError: "internal_error",
|
|
47
|
-
};
|
|
48
|
-
exports.TestPlanCapabilityResultStatusEnum = {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @enum {string}
|
|
35
|
+
*/
|
|
36
|
+
exports.TestCaseResultStatus = {
|
|
49
37
|
Waiting: "waiting",
|
|
50
38
|
Running: "running",
|
|
51
39
|
Passed: "passed",
|
|
52
40
|
Failed: "failed",
|
|
53
41
|
Skipped: "skipped",
|
|
54
42
|
InternalError: "internal_error",
|
|
43
|
+
Canceled: "canceled",
|
|
55
44
|
};
|
|
56
|
-
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @enum {string}
|
|
49
|
+
*/
|
|
50
|
+
exports.TestPlanResultStatus = {
|
|
51
|
+
Queuing: "queuing",
|
|
57
52
|
Waiting: "waiting",
|
|
58
53
|
Running: "running",
|
|
59
54
|
Passed: "passed",
|
|
60
55
|
Failed: "failed",
|
|
61
56
|
Skipped: "skipped",
|
|
62
57
|
InternalError: "internal_error",
|
|
58
|
+
Canceled: "canceled",
|
|
63
59
|
};
|
|
64
60
|
/**
|
|
65
61
|
* AutifyConnectApi - axios parameter creator
|
|
@@ -472,7 +468,8 @@ exports.CapabilityApi = CapabilityApi;
|
|
|
472
468
|
const ResultApiAxiosParamCreator = function (configuration) {
|
|
473
469
|
return {
|
|
474
470
|
/**
|
|
475
|
-
* Get a result.
|
|
471
|
+
* Get a test result.
|
|
472
|
+
* @summary Get a test result.
|
|
476
473
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
477
474
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
478
475
|
* @param {*} [options] Override http request option.
|
|
@@ -515,7 +512,8 @@ const ResultApiAxiosParamCreator = function (configuration) {
|
|
|
515
512
|
};
|
|
516
513
|
},
|
|
517
514
|
/**
|
|
518
|
-
* List results.
|
|
515
|
+
* List test results.
|
|
516
|
+
* @summary List test results.
|
|
519
517
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
520
518
|
* @param {number} [page] The number of page returns.
|
|
521
519
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -575,7 +573,8 @@ const ResultApiFp = function (configuration) {
|
|
|
575
573
|
const localVarAxiosParamCreator = (0, exports.ResultApiAxiosParamCreator)(configuration);
|
|
576
574
|
return {
|
|
577
575
|
/**
|
|
578
|
-
* Get a result.
|
|
576
|
+
* Get a test result.
|
|
577
|
+
* @summary Get a test result.
|
|
579
578
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
580
579
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
581
580
|
* @param {*} [options] Override http request option.
|
|
@@ -586,7 +585,8 @@ const ResultApiFp = function (configuration) {
|
|
|
586
585
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
587
586
|
},
|
|
588
587
|
/**
|
|
589
|
-
* List results.
|
|
588
|
+
* List test results.
|
|
589
|
+
* @summary List test results.
|
|
590
590
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
591
591
|
* @param {number} [page] The number of page returns.
|
|
592
592
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -609,7 +609,8 @@ const ResultApiFactory = function (configuration, basePath, axios) {
|
|
|
609
609
|
const localVarFp = (0, exports.ResultApiFp)(configuration);
|
|
610
610
|
return {
|
|
611
611
|
/**
|
|
612
|
-
* Get a result.
|
|
612
|
+
* Get a test result.
|
|
613
|
+
* @summary Get a test result.
|
|
613
614
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
614
615
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
615
616
|
* @param {*} [options] Override http request option.
|
|
@@ -621,7 +622,8 @@ const ResultApiFactory = function (configuration, basePath, axios) {
|
|
|
621
622
|
.then((request) => request(axios, basePath));
|
|
622
623
|
},
|
|
623
624
|
/**
|
|
624
|
-
* List results.
|
|
625
|
+
* List test results.
|
|
626
|
+
* @summary List test results.
|
|
625
627
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
626
628
|
* @param {number} [page] The number of page returns.
|
|
627
629
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -645,7 +647,8 @@ exports.ResultApiFactory = ResultApiFactory;
|
|
|
645
647
|
*/
|
|
646
648
|
class ResultApi extends base_1.BaseAPI {
|
|
647
649
|
/**
|
|
648
|
-
* Get a result.
|
|
650
|
+
* Get a test result.
|
|
651
|
+
* @summary Get a test result.
|
|
649
652
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
|
|
650
653
|
* @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
|
|
651
654
|
* @param {*} [options] Override http request option.
|
|
@@ -658,7 +661,8 @@ class ResultApi extends base_1.BaseAPI {
|
|
|
658
661
|
.then((request) => request(this.axios, this.basePath));
|
|
659
662
|
}
|
|
660
663
|
/**
|
|
661
|
-
* List results.
|
|
664
|
+
* List test results.
|
|
665
|
+
* @summary List test results.
|
|
662
666
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
|
|
663
667
|
* @param {number} [page] The number of page returns.
|
|
664
668
|
* @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
|
|
@@ -955,7 +959,8 @@ exports.ScenarioApi = ScenarioApi;
|
|
|
955
959
|
const ScheduleApiAxiosParamCreator = function (configuration) {
|
|
956
960
|
return {
|
|
957
961
|
/**
|
|
958
|
-
*
|
|
962
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
963
|
+
* @summary Run a test plan.
|
|
959
964
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
960
965
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
961
966
|
* @param {*} [options] Override http request option.
|
|
@@ -1006,7 +1011,8 @@ const ScheduleApiFp = function (configuration) {
|
|
|
1006
1011
|
const localVarAxiosParamCreator = (0, exports.ScheduleApiAxiosParamCreator)(configuration);
|
|
1007
1012
|
return {
|
|
1008
1013
|
/**
|
|
1009
|
-
*
|
|
1014
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
1015
|
+
* @summary Run a test plan.
|
|
1010
1016
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
1011
1017
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
1012
1018
|
* @param {*} [options] Override http request option.
|
|
@@ -1027,7 +1033,8 @@ const ScheduleApiFactory = function (configuration, basePath, axios) {
|
|
|
1027
1033
|
const localVarFp = (0, exports.ScheduleApiFp)(configuration);
|
|
1028
1034
|
return {
|
|
1029
1035
|
/**
|
|
1030
|
-
*
|
|
1036
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
1037
|
+
* @summary Run a test plan.
|
|
1031
1038
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
1032
1039
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
1033
1040
|
* @param {*} [options] Override http request option.
|
|
@@ -1049,7 +1056,8 @@ exports.ScheduleApiFactory = ScheduleApiFactory;
|
|
|
1049
1056
|
*/
|
|
1050
1057
|
class ScheduleApi extends base_1.BaseAPI {
|
|
1051
1058
|
/**
|
|
1052
|
-
*
|
|
1059
|
+
* \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
|
|
1060
|
+
* @summary Run a test plan.
|
|
1053
1061
|
* @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
|
|
1054
1062
|
* @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
|
|
1055
1063
|
* @param {*} [options] Override http request option.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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).
|
|
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Autify API
|
|
6
|
-
* ## 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).
|
|
6
|
+
* ## 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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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).
|
|
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Autify API
|
|
6
|
-
* ## 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).
|
|
6
|
+
* ## 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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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).
|
|
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Autify API
|
|
6
|
-
* ## 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).
|
|
6
|
+
* ## 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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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).
|
|
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Autify API
|
|
6
|
-
* ## 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).
|
|
6
|
+
* ## 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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autifyhq/autify-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Autify SDK for JavaScript",
|
|
5
5
|
"author": "Autify",
|
|
6
6
|
"homepage": "https://github.com/autifyhq/autify-sdk-js",
|
|
@@ -16,32 +16,32 @@
|
|
|
16
16
|
"node": ">=12.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"axios": "^1.1
|
|
19
|
+
"axios": "^1.2.1",
|
|
20
20
|
"axios-logger": "^2.6.1",
|
|
21
21
|
"debug": "^4.3.4",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
|
-
"tslib": "^2.4.
|
|
23
|
+
"tslib": "^2.4.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@openapitools/openapi-generator-cli": "^2.5.
|
|
26
|
+
"@openapitools/openapi-generator-cli": "^2.5.2",
|
|
27
27
|
"@types/debug": "^4.1.7",
|
|
28
|
-
"@types/jest": "^28.1.
|
|
29
|
-
"@types/node": "^18.11.
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
31
|
-
"@typescript-eslint/parser": "^5.
|
|
32
|
-
"axios-mock-adapter": "^1.21.
|
|
33
|
-
"eslint": "^8.
|
|
28
|
+
"@types/jest": "^28.1.8",
|
|
29
|
+
"@types/node": "^18.11.13",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
|
31
|
+
"@typescript-eslint/parser": "^5.46.1",
|
|
32
|
+
"axios-mock-adapter": "^1.21.2",
|
|
33
|
+
"eslint": "^8.29.0",
|
|
34
34
|
"eslint-config-prettier": "^8.5.0",
|
|
35
35
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
36
|
-
"husky": "^8.0.
|
|
37
|
-
"jest": "^28.1.
|
|
38
|
-
"lint-staged": "^13.0
|
|
39
|
-
"prettier": "^2.
|
|
36
|
+
"husky": "^8.0.2",
|
|
37
|
+
"jest": "^28.1.3",
|
|
38
|
+
"lint-staged": "^13.1.0",
|
|
39
|
+
"prettier": "^2.8.1",
|
|
40
40
|
"shx": "^0.3.4",
|
|
41
|
-
"ts-jest": "^28.0.
|
|
42
|
-
"ts-morph": "^
|
|
43
|
-
"ts-node": "^10.
|
|
44
|
-
"typescript": "^4.
|
|
41
|
+
"ts-jest": "^28.0.8",
|
|
42
|
+
"ts-morph": "^17.0.1",
|
|
43
|
+
"ts-node": "^10.9.1",
|
|
44
|
+
"typescript": "^4.9.4"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"update-swagger-web": "curl -o swagger-web.yml https://autifyhq.github.io/autify-api/swagger.yml",
|