@autifyhq/autify-sdk 0.27.0 → 0.28.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.
|
@@ -18,7 +18,7 @@ export declare class MobileClient {
|
|
|
18
18
|
* @throws {RequiredError}
|
|
19
19
|
* @memberof BuildsApi
|
|
20
20
|
*/
|
|
21
|
-
uploadBuild(projectId: string, file: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadBuild201Response, any>>;
|
|
21
|
+
uploadBuild(projectId: string, file: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadBuild201Response, any, {}>>;
|
|
22
22
|
private readonly testPlansApi;
|
|
23
23
|
/**
|
|
24
24
|
* Run a test plan
|
|
@@ -29,7 +29,7 @@ export declare class MobileClient {
|
|
|
29
29
|
* @throws {RequiredError}
|
|
30
30
|
* @memberof TestPlansApi
|
|
31
31
|
*/
|
|
32
|
-
runTestPlan(testPlanId: string, runTestPlanRequest: RunTestPlanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RunTestPlan201Response, any>>;
|
|
32
|
+
runTestPlan(testPlanId: string, runTestPlanRequest: RunTestPlanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RunTestPlan201Response, any, {}>>;
|
|
33
33
|
private readonly testResultsApi;
|
|
34
34
|
/**
|
|
35
35
|
* Get a test result.
|
|
@@ -40,7 +40,7 @@ export declare class MobileClient {
|
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
* @memberof TestResultsApi
|
|
42
42
|
*/
|
|
43
|
-
describeTestResult(projectId: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeTestResult200Response, any>>;
|
|
43
|
+
describeTestResult(projectId: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeTestResult200Response, any, {}>>;
|
|
44
44
|
/**
|
|
45
45
|
* List test results.
|
|
46
46
|
* @summary List test results
|
|
@@ -52,5 +52,5 @@ export declare class MobileClient {
|
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
* @memberof TestResultsApi
|
|
54
54
|
*/
|
|
55
|
-
listTestResults(projectId: string, page?: number, perPage?: number, testPlanId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTestResults200Response, any>>;
|
|
55
|
+
listTestResults(projectId: string, page?: number, perPage?: number, testPlanId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTestResults200Response, any, {}>>;
|
|
56
56
|
}
|
|
@@ -540,7 +540,7 @@ export declare class BuildsApi extends BaseAPI {
|
|
|
540
540
|
* @throws {RequiredError}
|
|
541
541
|
* @memberof BuildsApi
|
|
542
542
|
*/
|
|
543
|
-
uploadBuild(projectId: string, file: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadBuild201Response, any>>;
|
|
543
|
+
uploadBuild(projectId: string, file: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadBuild201Response, any, {}>>;
|
|
544
544
|
}
|
|
545
545
|
/**
|
|
546
546
|
* TestPlansApi - axios parameter creator
|
|
@@ -603,7 +603,7 @@ export declare class TestPlansApi extends BaseAPI {
|
|
|
603
603
|
* @throws {RequiredError}
|
|
604
604
|
* @memberof TestPlansApi
|
|
605
605
|
*/
|
|
606
|
-
runTestPlan(testPlanId: string, runTestPlanRequest: RunTestPlanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RunTestPlan201Response, any>>;
|
|
606
|
+
runTestPlan(testPlanId: string, runTestPlanRequest: RunTestPlanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RunTestPlan201Response, any, {}>>;
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
609
|
* TestResultsApi - axios parameter creator
|
|
@@ -699,7 +699,7 @@ export declare class TestResultsApi extends BaseAPI {
|
|
|
699
699
|
* @throws {RequiredError}
|
|
700
700
|
* @memberof TestResultsApi
|
|
701
701
|
*/
|
|
702
|
-
describeTestResult(projectId: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeTestResult200Response, any>>;
|
|
702
|
+
describeTestResult(projectId: string, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeTestResult200Response, any, {}>>;
|
|
703
703
|
/**
|
|
704
704
|
* List test results.
|
|
705
705
|
* @summary List test results
|
|
@@ -711,5 +711,5 @@ export declare class TestResultsApi extends BaseAPI {
|
|
|
711
711
|
* @throws {RequiredError}
|
|
712
712
|
* @memberof TestResultsApi
|
|
713
713
|
*/
|
|
714
|
-
listTestResults(projectId: string, page?: number, perPage?: number, testPlanId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTestResults200Response, any>>;
|
|
714
|
+
listTestResults(projectId: string, page?: number, perPage?: number, testPlanId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTestResults200Response, any, {}>>;
|
|
715
715
|
}
|
|
@@ -17,7 +17,7 @@ export declare class WebClient {
|
|
|
17
17
|
* @throws {RequiredError}
|
|
18
18
|
* @memberof AutifyConnectApi
|
|
19
19
|
*/
|
|
20
|
-
createAccessPoint(projectId: number, createAccessPointRequest: CreateAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccessPointResult, any>>;
|
|
20
|
+
createAccessPoint(projectId: number, createAccessPointRequest: CreateAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccessPointResult, any, {}>>;
|
|
21
21
|
/**
|
|
22
22
|
* You can delete an access point by passing in its name.
|
|
23
23
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -26,7 +26,7 @@ export declare class WebClient {
|
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
* @memberof AutifyConnectApi
|
|
28
28
|
*/
|
|
29
|
-
deleteAccessPoint(projectId: number, deleteAccessPointRequest: DeleteAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
29
|
+
deleteAccessPoint(projectId: number, deleteAccessPointRequest: DeleteAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
30
30
|
/**
|
|
31
31
|
* List access points for the project.
|
|
32
32
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -35,7 +35,7 @@ export declare class WebClient {
|
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
* @memberof AutifyConnectApi
|
|
37
37
|
*/
|
|
38
|
-
listAccessPoints(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessPoint[], any>>;
|
|
38
|
+
listAccessPoints(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessPoint[], any, {}>>;
|
|
39
39
|
private readonly capabilityApi;
|
|
40
40
|
/**
|
|
41
41
|
* List available Capabilities.
|
|
@@ -49,7 +49,7 @@ export declare class WebClient {
|
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
* @memberof CapabilityApi
|
|
51
51
|
*/
|
|
52
|
-
listCapabilities(projectId: number, os?: string, osType?: OsTypeEnum, browser?: string, browserType?: BrowserTypeEnum, deviceType?: DeviceTypeEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CapabilityOption[], any>>;
|
|
52
|
+
listCapabilities(projectId: number, os?: string, osType?: OsTypeEnum, browser?: string, browserType?: BrowserTypeEnum, deviceType?: DeviceTypeEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CapabilityOption[], any, {}>>;
|
|
53
53
|
private readonly creditApi;
|
|
54
54
|
/**
|
|
55
55
|
* Get the number of credits used in the project Notes: This endpoint works only for organizations on credit-based plans. It always returns 0 for `credits_consumed` and `credit_consumption_event_count` if your organization is on a run-based plan.
|
|
@@ -63,7 +63,7 @@ export declare class WebClient {
|
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
* @memberof CreditApi
|
|
65
65
|
*/
|
|
66
|
-
getCreditUsage(projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UsedCredits, any>>;
|
|
66
|
+
getCreditUsage(projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UsedCredits, any, {}>>;
|
|
67
67
|
private readonly projectApi;
|
|
68
68
|
/**
|
|
69
69
|
* Get project information.
|
|
@@ -72,7 +72,7 @@ export declare class WebClient {
|
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
* @memberof ProjectApi
|
|
74
74
|
*/
|
|
75
|
-
getProjectInfo(projectId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInfo, any>>;
|
|
75
|
+
getProjectInfo(projectId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInfo, any, {}>>;
|
|
76
76
|
private readonly resultApi;
|
|
77
77
|
/**
|
|
78
78
|
* Get a test result.
|
|
@@ -84,7 +84,7 @@ export declare class WebClient {
|
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
* @memberof ResultApi
|
|
86
86
|
*/
|
|
87
|
-
describeResult(projectId: number, resultId: number, getDetails?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any>>;
|
|
87
|
+
describeResult(projectId: number, resultId: number, getDetails?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any, {}>>;
|
|
88
88
|
/**
|
|
89
89
|
* List test results.
|
|
90
90
|
* @summary List test results.
|
|
@@ -96,7 +96,7 @@ export declare class WebClient {
|
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
* @memberof ResultApi
|
|
98
98
|
*/
|
|
99
|
-
listResults(projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanResult[], any>>;
|
|
99
|
+
listResults(projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanResult[], any, {}>>;
|
|
100
100
|
private readonly scenarioApi;
|
|
101
101
|
/**
|
|
102
102
|
* Get a scenario.
|
|
@@ -106,7 +106,7 @@ export declare class WebClient {
|
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
* @memberof ScenarioApi
|
|
108
108
|
*/
|
|
109
|
-
describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario, any>>;
|
|
109
|
+
describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario, any, {}>>;
|
|
110
110
|
/**
|
|
111
111
|
* You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
|
|
112
112
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -115,7 +115,7 @@ export declare class WebClient {
|
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
* @memberof ScenarioApi
|
|
117
117
|
*/
|
|
118
|
-
executeScenarios(projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteScenariosResult, any>>;
|
|
118
|
+
executeScenarios(projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteScenariosResult, any, {}>>;
|
|
119
119
|
/**
|
|
120
120
|
* List scenarios.
|
|
121
121
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -124,7 +124,7 @@ export declare class WebClient {
|
|
|
124
124
|
* @throws {RequiredError}
|
|
125
125
|
* @memberof ScenarioApi
|
|
126
126
|
*/
|
|
127
|
-
listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario[], any>>;
|
|
127
|
+
listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario[], any, {}>>;
|
|
128
128
|
private readonly scheduleApi;
|
|
129
129
|
/**
|
|
130
130
|
* "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
|
|
@@ -135,7 +135,7 @@ export declare class WebClient {
|
|
|
135
135
|
* @throws {RequiredError}
|
|
136
136
|
* @memberof ScheduleApi
|
|
137
137
|
*/
|
|
138
|
-
executeSchedule(scheduleId: number, executeScheduleRequest?: ExecuteScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSchedule200Response, any>>;
|
|
138
|
+
executeSchedule(scheduleId: number, executeScheduleRequest?: ExecuteScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSchedule200Response, any, {}>>;
|
|
139
139
|
private readonly testPlanVariableApi;
|
|
140
140
|
/**
|
|
141
141
|
* Create a new variable for the test plan
|
|
@@ -145,7 +145,7 @@ export declare class WebClient {
|
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
* @memberof TestPlanVariableApi
|
|
147
147
|
*/
|
|
148
|
-
createTestPlanVariable(testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any>>;
|
|
148
|
+
createTestPlanVariable(testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any, {}>>;
|
|
149
149
|
/**
|
|
150
150
|
* Delete an existing test plan variable for the test plan
|
|
151
151
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/
|
|
@@ -154,7 +154,7 @@ export declare class WebClient {
|
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
* @memberof TestPlanVariableApi
|
|
156
156
|
*/
|
|
157
|
-
deleteTestPlanVariable(testPlanId: number, testPlanVariableId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
157
|
+
deleteTestPlanVariable(testPlanId: number, testPlanVariableId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
158
158
|
/**
|
|
159
159
|
* List the test plan\'s variables
|
|
160
160
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -162,7 +162,7 @@ export declare class WebClient {
|
|
|
162
162
|
* @throws {RequiredError}
|
|
163
163
|
* @memberof TestPlanVariableApi
|
|
164
164
|
*/
|
|
165
|
-
listTestPlanVariable(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable[], any>>;
|
|
165
|
+
listTestPlanVariable(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable[], any, {}>>;
|
|
166
166
|
/**
|
|
167
167
|
* Update a url replacement for the test plan
|
|
168
168
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -172,7 +172,7 @@ export declare class WebClient {
|
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
* @memberof TestPlanVariableApi
|
|
174
174
|
*/
|
|
175
|
-
updateTestPlanVariable(testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any>>;
|
|
175
|
+
updateTestPlanVariable(testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any, {}>>;
|
|
176
176
|
private readonly urlReplacementApi;
|
|
177
177
|
/**
|
|
178
178
|
* Create a new url replacement for the test plan
|
|
@@ -182,7 +182,7 @@ export declare class WebClient {
|
|
|
182
182
|
* @throws {RequiredError}
|
|
183
183
|
* @memberof UrlReplacementApi
|
|
184
184
|
*/
|
|
185
|
-
createUrlReplacement(testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any>>;
|
|
185
|
+
createUrlReplacement(testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any, {}>>;
|
|
186
186
|
/**
|
|
187
187
|
* Delete a url replacement for the test plan
|
|
188
188
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -191,7 +191,7 @@ export declare class WebClient {
|
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
* @memberof UrlReplacementApi
|
|
193
193
|
*/
|
|
194
|
-
deleteUrlReplacement(testPlanId: number, urlReplacementId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
194
|
+
deleteUrlReplacement(testPlanId: number, urlReplacementId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
195
195
|
/**
|
|
196
196
|
* List url replacements for the test plan
|
|
197
197
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -199,7 +199,7 @@ export declare class WebClient {
|
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
* @memberof UrlReplacementApi
|
|
201
201
|
*/
|
|
202
|
-
listUrlReplacements(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement[], any>>;
|
|
202
|
+
listUrlReplacements(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement[], any, {}>>;
|
|
203
203
|
/**
|
|
204
204
|
* Update a url replacement for the test plan
|
|
205
205
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -209,5 +209,5 @@ export declare class WebClient {
|
|
|
209
209
|
* @throws {RequiredError}
|
|
210
210
|
* @memberof UrlReplacementApi
|
|
211
211
|
*/
|
|
212
|
-
updateUrlReplacement(testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any>>;
|
|
212
|
+
updateUrlReplacement(testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any, {}>>;
|
|
213
213
|
}
|
|
@@ -1469,7 +1469,7 @@ export declare class AutifyConnectApi extends BaseAPI {
|
|
|
1469
1469
|
* @throws {RequiredError}
|
|
1470
1470
|
* @memberof AutifyConnectApi
|
|
1471
1471
|
*/
|
|
1472
|
-
createAccessPoint(projectId: number, createAccessPointRequest: CreateAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccessPointResult, any>>;
|
|
1472
|
+
createAccessPoint(projectId: number, createAccessPointRequest: CreateAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccessPointResult, any, {}>>;
|
|
1473
1473
|
/**
|
|
1474
1474
|
* You can delete an access point by passing in its name.
|
|
1475
1475
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -1478,7 +1478,7 @@ export declare class AutifyConnectApi extends BaseAPI {
|
|
|
1478
1478
|
* @throws {RequiredError}
|
|
1479
1479
|
* @memberof AutifyConnectApi
|
|
1480
1480
|
*/
|
|
1481
|
-
deleteAccessPoint(projectId: number, deleteAccessPointRequest: DeleteAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
1481
|
+
deleteAccessPoint(projectId: number, deleteAccessPointRequest: DeleteAccessPointRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
1482
1482
|
/**
|
|
1483
1483
|
* List access points for the project.
|
|
1484
1484
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -1487,7 +1487,7 @@ export declare class AutifyConnectApi extends BaseAPI {
|
|
|
1487
1487
|
* @throws {RequiredError}
|
|
1488
1488
|
* @memberof AutifyConnectApi
|
|
1489
1489
|
*/
|
|
1490
|
-
listAccessPoints(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessPoint[], any>>;
|
|
1490
|
+
listAccessPoints(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessPoint[], any, {}>>;
|
|
1491
1491
|
}
|
|
1492
1492
|
/**
|
|
1493
1493
|
* CapabilityApi - axios parameter creator
|
|
@@ -1562,7 +1562,7 @@ export declare class CapabilityApi extends BaseAPI {
|
|
|
1562
1562
|
* @throws {RequiredError}
|
|
1563
1563
|
* @memberof CapabilityApi
|
|
1564
1564
|
*/
|
|
1565
|
-
listCapabilities(projectId: number, os?: string, osType?: OsTypeEnum, browser?: string, browserType?: BrowserTypeEnum, deviceType?: DeviceTypeEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CapabilityOption[], any>>;
|
|
1565
|
+
listCapabilities(projectId: number, os?: string, osType?: OsTypeEnum, browser?: string, browserType?: BrowserTypeEnum, deviceType?: DeviceTypeEnum, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CapabilityOption[], any, {}>>;
|
|
1566
1566
|
}
|
|
1567
1567
|
/**
|
|
1568
1568
|
* CreditApi - axios parameter creator
|
|
@@ -1637,7 +1637,7 @@ export declare class CreditApi extends BaseAPI {
|
|
|
1637
1637
|
* @throws {RequiredError}
|
|
1638
1638
|
* @memberof CreditApi
|
|
1639
1639
|
*/
|
|
1640
|
-
getCreditUsage(projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UsedCredits, any>>;
|
|
1640
|
+
getCreditUsage(projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UsedCredits, any, {}>>;
|
|
1641
1641
|
}
|
|
1642
1642
|
/**
|
|
1643
1643
|
* ProjectApi - axios parameter creator
|
|
@@ -1692,7 +1692,7 @@ export declare class ProjectApi extends BaseAPI {
|
|
|
1692
1692
|
* @throws {RequiredError}
|
|
1693
1693
|
* @memberof ProjectApi
|
|
1694
1694
|
*/
|
|
1695
|
-
getProjectInfo(projectId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInfo, any>>;
|
|
1695
|
+
getProjectInfo(projectId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInfo, any, {}>>;
|
|
1696
1696
|
}
|
|
1697
1697
|
/**
|
|
1698
1698
|
* ResultApi - axios parameter creator
|
|
@@ -1792,7 +1792,7 @@ export declare class ResultApi extends BaseAPI {
|
|
|
1792
1792
|
* @throws {RequiredError}
|
|
1793
1793
|
* @memberof ResultApi
|
|
1794
1794
|
*/
|
|
1795
|
-
describeResult(projectId: number, resultId: number, getDetails?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any>>;
|
|
1795
|
+
describeResult(projectId: number, resultId: number, getDetails?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any, {}>>;
|
|
1796
1796
|
/**
|
|
1797
1797
|
* List test results.
|
|
1798
1798
|
* @summary List test results.
|
|
@@ -1804,7 +1804,7 @@ export declare class ResultApi extends BaseAPI {
|
|
|
1804
1804
|
* @throws {RequiredError}
|
|
1805
1805
|
* @memberof ResultApi
|
|
1806
1806
|
*/
|
|
1807
|
-
listResults(projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanResult[], any>>;
|
|
1807
|
+
listResults(projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanResult[], any, {}>>;
|
|
1808
1808
|
}
|
|
1809
1809
|
/**
|
|
1810
1810
|
* ScenarioApi - axios parameter creator
|
|
@@ -1911,7 +1911,7 @@ export declare class ScenarioApi extends BaseAPI {
|
|
|
1911
1911
|
* @throws {RequiredError}
|
|
1912
1912
|
* @memberof ScenarioApi
|
|
1913
1913
|
*/
|
|
1914
|
-
describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario, any>>;
|
|
1914
|
+
describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario, any, {}>>;
|
|
1915
1915
|
/**
|
|
1916
1916
|
* You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
|
|
1917
1917
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -1920,7 +1920,7 @@ export declare class ScenarioApi extends BaseAPI {
|
|
|
1920
1920
|
* @throws {RequiredError}
|
|
1921
1921
|
* @memberof ScenarioApi
|
|
1922
1922
|
*/
|
|
1923
|
-
executeScenarios(projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteScenariosResult, any>>;
|
|
1923
|
+
executeScenarios(projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteScenariosResult, any, {}>>;
|
|
1924
1924
|
/**
|
|
1925
1925
|
* List scenarios.
|
|
1926
1926
|
* @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
|
|
@@ -1929,7 +1929,7 @@ export declare class ScenarioApi extends BaseAPI {
|
|
|
1929
1929
|
* @throws {RequiredError}
|
|
1930
1930
|
* @memberof ScenarioApi
|
|
1931
1931
|
*/
|
|
1932
|
-
listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario[], any>>;
|
|
1932
|
+
listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario[], any, {}>>;
|
|
1933
1933
|
}
|
|
1934
1934
|
/**
|
|
1935
1935
|
* ScheduleApi - axios parameter creator
|
|
@@ -1992,7 +1992,7 @@ export declare class ScheduleApi extends BaseAPI {
|
|
|
1992
1992
|
* @throws {RequiredError}
|
|
1993
1993
|
* @memberof ScheduleApi
|
|
1994
1994
|
*/
|
|
1995
|
-
executeSchedule(scheduleId: number, executeScheduleRequest?: ExecuteScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSchedule200Response, any>>;
|
|
1995
|
+
executeSchedule(scheduleId: number, executeScheduleRequest?: ExecuteScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSchedule200Response, any, {}>>;
|
|
1996
1996
|
}
|
|
1997
1997
|
/**
|
|
1998
1998
|
* TestPlanVariableApi - axios parameter creator
|
|
@@ -2123,7 +2123,7 @@ export declare class TestPlanVariableApi extends BaseAPI {
|
|
|
2123
2123
|
* @throws {RequiredError}
|
|
2124
2124
|
* @memberof TestPlanVariableApi
|
|
2125
2125
|
*/
|
|
2126
|
-
createTestPlanVariable(testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any>>;
|
|
2126
|
+
createTestPlanVariable(testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any, {}>>;
|
|
2127
2127
|
/**
|
|
2128
2128
|
* Delete an existing test plan variable for the test plan
|
|
2129
2129
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/
|
|
@@ -2132,7 +2132,7 @@ export declare class TestPlanVariableApi extends BaseAPI {
|
|
|
2132
2132
|
* @throws {RequiredError}
|
|
2133
2133
|
* @memberof TestPlanVariableApi
|
|
2134
2134
|
*/
|
|
2135
|
-
deleteTestPlanVariable(testPlanId: number, testPlanVariableId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
2135
|
+
deleteTestPlanVariable(testPlanId: number, testPlanVariableId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
2136
2136
|
/**
|
|
2137
2137
|
* List the test plan\'s variables
|
|
2138
2138
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -2140,7 +2140,7 @@ export declare class TestPlanVariableApi extends BaseAPI {
|
|
|
2140
2140
|
* @throws {RequiredError}
|
|
2141
2141
|
* @memberof TestPlanVariableApi
|
|
2142
2142
|
*/
|
|
2143
|
-
listTestPlanVariable(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable[], any>>;
|
|
2143
|
+
listTestPlanVariable(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable[], any, {}>>;
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Update a url replacement for the test plan
|
|
2146
2146
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -2150,7 +2150,7 @@ export declare class TestPlanVariableApi extends BaseAPI {
|
|
|
2150
2150
|
* @throws {RequiredError}
|
|
2151
2151
|
* @memberof TestPlanVariableApi
|
|
2152
2152
|
*/
|
|
2153
|
-
updateTestPlanVariable(testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any>>;
|
|
2153
|
+
updateTestPlanVariable(testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any, {}>>;
|
|
2154
2154
|
}
|
|
2155
2155
|
/**
|
|
2156
2156
|
* UrlReplacementApi - axios parameter creator
|
|
@@ -2281,7 +2281,7 @@ export declare class UrlReplacementApi extends BaseAPI {
|
|
|
2281
2281
|
* @throws {RequiredError}
|
|
2282
2282
|
* @memberof UrlReplacementApi
|
|
2283
2283
|
*/
|
|
2284
|
-
createUrlReplacement(testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any>>;
|
|
2284
|
+
createUrlReplacement(testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any, {}>>;
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Delete a url replacement for the test plan
|
|
2287
2287
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -2290,7 +2290,7 @@ export declare class UrlReplacementApi extends BaseAPI {
|
|
|
2290
2290
|
* @throws {RequiredError}
|
|
2291
2291
|
* @memberof UrlReplacementApi
|
|
2292
2292
|
*/
|
|
2293
|
-
deleteUrlReplacement(testPlanId: number, urlReplacementId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
2293
|
+
deleteUrlReplacement(testPlanId: number, urlReplacementId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
2294
2294
|
/**
|
|
2295
2295
|
* List url replacements for the test plan
|
|
2296
2296
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -2298,7 +2298,7 @@ export declare class UrlReplacementApi extends BaseAPI {
|
|
|
2298
2298
|
* @throws {RequiredError}
|
|
2299
2299
|
* @memberof UrlReplacementApi
|
|
2300
2300
|
*/
|
|
2301
|
-
listUrlReplacements(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement[], any>>;
|
|
2301
|
+
listUrlReplacements(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement[], any, {}>>;
|
|
2302
2302
|
/**
|
|
2303
2303
|
* Update a url replacement for the test plan
|
|
2304
2304
|
* @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
@@ -2308,5 +2308,5 @@ export declare class UrlReplacementApi extends BaseAPI {
|
|
|
2308
2308
|
* @throws {RequiredError}
|
|
2309
2309
|
* @memberof UrlReplacementApi
|
|
2310
2310
|
*/
|
|
2311
|
-
updateUrlReplacement(testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any>>;
|
|
2311
|
+
updateUrlReplacement(testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any, {}>>;
|
|
2312
2312
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autifyhq/autify-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.2",
|
|
4
4
|
"description": "Autify SDK for JavaScript",
|
|
5
5
|
"author": "Autify",
|
|
6
6
|
"homepage": "https://github.com/autifyhq/autify-sdk-js",
|
|
@@ -16,34 +16,34 @@
|
|
|
16
16
|
"node": ">=22.16.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"axios": "^1.
|
|
19
|
+
"axios": "^1.13.2",
|
|
20
20
|
"axios-logger": "^2.8.1",
|
|
21
|
-
"debug": "^4.4.
|
|
22
|
-
"form-data": "^4.0.
|
|
21
|
+
"debug": "^4.4.3",
|
|
22
|
+
"form-data": "^4.0.4",
|
|
23
23
|
"tslib": "^2.8.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@eslint/eslintrc": "^3.3.1",
|
|
27
|
-
"@eslint/js": "^9.
|
|
28
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
27
|
+
"@eslint/js": "^9.39.1",
|
|
28
|
+
"@openapitools/openapi-generator-cli": "^2.25.0",
|
|
29
29
|
"@types/debug": "^4.1.12",
|
|
30
30
|
"@types/jest": "^29.5.14",
|
|
31
|
-
"@types/node": "^22.
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
33
|
-
"@typescript-eslint/parser": "^8.
|
|
31
|
+
"@types/node": "^22.19.1",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
|
33
|
+
"@typescript-eslint/parser": "^8.46.4",
|
|
34
34
|
"axios-mock-adapter": "^2.1.0",
|
|
35
|
-
"eslint": "^9.
|
|
36
|
-
"eslint-config-prettier": "^10.1.
|
|
37
|
-
"eslint-plugin-unused-imports": "^4.
|
|
35
|
+
"eslint": "^9.39.1",
|
|
36
|
+
"eslint-config-prettier": "^10.1.8",
|
|
37
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
38
38
|
"husky": "^9.1.7",
|
|
39
39
|
"jest": "^29.7.0",
|
|
40
|
-
"lint-staged": "^16.
|
|
41
|
-
"prettier": "^3.
|
|
40
|
+
"lint-staged": "^16.2.6",
|
|
41
|
+
"prettier": "^3.6.2",
|
|
42
42
|
"shx": "^0.4.0",
|
|
43
|
-
"ts-jest": "^29.
|
|
43
|
+
"ts-jest": "^29.4.5",
|
|
44
44
|
"ts-morph": "^26.0.0",
|
|
45
45
|
"ts-node": "^10.9.2",
|
|
46
|
-
"typescript": "^5.
|
|
46
|
+
"typescript": "^5.9.3"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"update-swagger-web": "curl -o swagger-web.yml https://autifyhq.github.io/autify-api/swagger.yml",
|