@autifyhq/autify-sdk 0.18.0 → 0.20.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.
@@ -253,6 +253,51 @@ export interface CreateAccessPointResult {
253
253
  */
254
254
  updated_at?: string;
255
255
  }
256
+ /**
257
+ *
258
+ * @export
259
+ * @interface CreateTestPlanVariable400Response
260
+ */
261
+ export interface CreateTestPlanVariable400Response {
262
+ /**
263
+ *
264
+ * @type {Array<CreateTestPlanVariable400ResponseErrorsInner>}
265
+ * @memberof CreateTestPlanVariable400Response
266
+ */
267
+ errors?: Array<CreateTestPlanVariable400ResponseErrorsInner>;
268
+ }
269
+ /**
270
+ *
271
+ * @export
272
+ * @interface CreateTestPlanVariable400ResponseErrorsInner
273
+ */
274
+ export interface CreateTestPlanVariable400ResponseErrorsInner {
275
+ /**
276
+ *
277
+ * @type {string}
278
+ * @memberof CreateTestPlanVariable400ResponseErrorsInner
279
+ */
280
+ message?: string;
281
+ }
282
+ /**
283
+ *
284
+ * @export
285
+ * @interface CreateTestPlanVariableRequest
286
+ */
287
+ export interface CreateTestPlanVariableRequest {
288
+ /**
289
+ *
290
+ * @type {string}
291
+ * @memberof CreateTestPlanVariableRequest
292
+ */
293
+ key?: string;
294
+ /**
295
+ *
296
+ * @type {string}
297
+ * @memberof CreateTestPlanVariableRequest
298
+ */
299
+ default_value?: string;
300
+ }
256
301
  /**
257
302
  *
258
303
  * @export
@@ -744,6 +789,37 @@ export interface Label {
744
789
  */
745
790
  updated_at?: string;
746
791
  }
792
+ /**
793
+ *
794
+ * @export
795
+ * @interface ProjectInfo
796
+ */
797
+ export interface ProjectInfo {
798
+ /**
799
+ *
800
+ * @type {number}
801
+ * @memberof ProjectInfo
802
+ */
803
+ id?: number;
804
+ /**
805
+ *
806
+ * @type {string}
807
+ * @memberof ProjectInfo
808
+ */
809
+ name?: string;
810
+ /**
811
+ *
812
+ * @type {number}
813
+ * @memberof ProjectInfo
814
+ */
815
+ scenarios_count?: number;
816
+ /**
817
+ *
818
+ * @type {number}
819
+ * @memberof ProjectInfo
820
+ */
821
+ test_plans_count?: number;
822
+ }
747
823
  /**
748
824
  *
749
825
  * @export
@@ -847,6 +923,12 @@ export interface TestCaseResult {
847
923
  * @memberof TestCaseResult
848
924
  */
849
925
  review_needed?: number;
926
+ /**
927
+ * Number of credits consumed by this test result. (default 0 for test result created before credit based system)
928
+ * @type {number}
929
+ * @memberof TestCaseResult
930
+ */
931
+ number_of_credits_consumed?: number;
850
932
  /**
851
933
  * THIS FEATURE IS FOR LIMITED NUMBER OF CUSTOMERS. Variables imported from previously executed test results in a test plan.
852
934
  * @type {Array<TestCaseResultImportVariablesInner>}
@@ -1071,6 +1153,68 @@ export declare const TestPlanResultStatus: {
1071
1153
  readonly Canceled: "canceled";
1072
1154
  };
1073
1155
  export type TestPlanResultStatus = (typeof TestPlanResultStatus)[keyof typeof TestPlanResultStatus];
1156
+ /**
1157
+ *
1158
+ * @export
1159
+ * @interface TestPlanVariable
1160
+ */
1161
+ export interface TestPlanVariable {
1162
+ /**
1163
+ *
1164
+ * @type {number}
1165
+ * @memberof TestPlanVariable
1166
+ */
1167
+ id: number;
1168
+ /**
1169
+ *
1170
+ * @type {number}
1171
+ * @memberof TestPlanVariable
1172
+ */
1173
+ test_plan_id: number;
1174
+ /**
1175
+ *
1176
+ * @type {string}
1177
+ * @memberof TestPlanVariable
1178
+ */
1179
+ key: string;
1180
+ /**
1181
+ *
1182
+ * @type {string}
1183
+ * @memberof TestPlanVariable
1184
+ */
1185
+ default_value: string;
1186
+ /**
1187
+ *
1188
+ * @type {string}
1189
+ * @memberof TestPlanVariable
1190
+ */
1191
+ created_at: string;
1192
+ /**
1193
+ *
1194
+ * @type {string}
1195
+ * @memberof TestPlanVariable
1196
+ */
1197
+ updated_at: string;
1198
+ }
1199
+ /**
1200
+ *
1201
+ * @export
1202
+ * @interface UpdateTestPlanVariableRequest
1203
+ */
1204
+ export interface UpdateTestPlanVariableRequest {
1205
+ /**
1206
+ *
1207
+ * @type {string}
1208
+ * @memberof UpdateTestPlanVariableRequest
1209
+ */
1210
+ key?: string;
1211
+ /**
1212
+ *
1213
+ * @type {string}
1214
+ * @memberof UpdateTestPlanVariableRequest
1215
+ */
1216
+ default_value?: string;
1217
+ }
1074
1218
  /**
1075
1219
  *
1076
1220
  * @export
@@ -1133,6 +1277,37 @@ export interface UrlReplacement {
1133
1277
  */
1134
1278
  updated_at: string;
1135
1279
  }
1280
+ /**
1281
+ *
1282
+ * @export
1283
+ * @interface UsedCredits
1284
+ */
1285
+ export interface UsedCredits {
1286
+ /**
1287
+ *
1288
+ * @type {string}
1289
+ * @memberof UsedCredits
1290
+ */
1291
+ date_from?: string;
1292
+ /**
1293
+ *
1294
+ * @type {string}
1295
+ * @memberof UsedCredits
1296
+ */
1297
+ date_to?: string;
1298
+ /**
1299
+ *
1300
+ * @type {number}
1301
+ * @memberof UsedCredits
1302
+ */
1303
+ credits_consumed?: number;
1304
+ /**
1305
+ *
1306
+ * @type {number}
1307
+ * @memberof UsedCredits
1308
+ */
1309
+ credit_consumption_event_count?: number;
1310
+ }
1136
1311
  /**
1137
1312
  * AutifyConnectApi - axios parameter creator
1138
1313
  * @export
@@ -1325,6 +1500,136 @@ export declare class CapabilityApi extends BaseAPI {
1325
1500
  */
1326
1501
  listCapabilities(projectId: number, os?: string, browser?: string, deviceType?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CapabilityOption[], any>>;
1327
1502
  }
1503
+ /**
1504
+ * CreditApi - axios parameter creator
1505
+ * @export
1506
+ */
1507
+ export declare const CreditApiAxiosParamCreator: (configuration?: Configuration) => {
1508
+ /**
1509
+ * 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.
1510
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1511
+ * @param {string} [dateFrom] The date to start counting used credits from.\\ If not specified, the date will be set to 1 week ago.\\ Up to 90 days in advance can be specified. If the specified date is more than 90 days in the past, the date will be set to 90 days ago.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-21\&quot;).
1512
+ * @param {string} [dateTo] The date to end counting used credits from.\\ If not specified, the date will be set to today.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-28\&quot;).
1513
+ * @param {number} [scenarioId] The scenario ID to filter used credits by.
1514
+ * @param {number} [testPlanId] The test plan ID to filter used credits by.
1515
+ * @param {number} [userId] The user ID that executed tests to filter used credits by.
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ */
1519
+ getCreditUsage: (projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1520
+ };
1521
+ /**
1522
+ * CreditApi - functional programming interface
1523
+ * @export
1524
+ */
1525
+ export declare const CreditApiFp: (configuration?: Configuration) => {
1526
+ /**
1527
+ * 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.
1528
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1529
+ * @param {string} [dateFrom] The date to start counting used credits from.\\ If not specified, the date will be set to 1 week ago.\\ Up to 90 days in advance can be specified. If the specified date is more than 90 days in the past, the date will be set to 90 days ago.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-21\&quot;).
1530
+ * @param {string} [dateTo] The date to end counting used credits from.\\ If not specified, the date will be set to today.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-28\&quot;).
1531
+ * @param {number} [scenarioId] The scenario ID to filter used credits by.
1532
+ * @param {number} [testPlanId] The test plan ID to filter used credits by.
1533
+ * @param {number} [userId] The user ID that executed tests to filter used credits by.
1534
+ * @param {*} [options] Override http request option.
1535
+ * @throws {RequiredError}
1536
+ */
1537
+ getCreditUsage(projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsedCredits>>;
1538
+ };
1539
+ /**
1540
+ * CreditApi - factory interface
1541
+ * @export
1542
+ */
1543
+ export declare const CreditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1544
+ /**
1545
+ * 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.
1546
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1547
+ * @param {string} [dateFrom] The date to start counting used credits from.\\ If not specified, the date will be set to 1 week ago.\\ Up to 90 days in advance can be specified. If the specified date is more than 90 days in the past, the date will be set to 90 days ago.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-21\&quot;).
1548
+ * @param {string} [dateTo] The date to end counting used credits from.\\ If not specified, the date will be set to today.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-28\&quot;).
1549
+ * @param {number} [scenarioId] The scenario ID to filter used credits by.
1550
+ * @param {number} [testPlanId] The test plan ID to filter used credits by.
1551
+ * @param {number} [userId] The user ID that executed tests to filter used credits by.
1552
+ * @param {*} [options] Override http request option.
1553
+ * @throws {RequiredError}
1554
+ */
1555
+ getCreditUsage(projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: any): AxiosPromise<UsedCredits>;
1556
+ };
1557
+ /**
1558
+ * CreditApi - object-oriented interface
1559
+ * @export
1560
+ * @class CreditApi
1561
+ * @extends {BaseAPI}
1562
+ */
1563
+ export declare class CreditApi extends BaseAPI {
1564
+ /**
1565
+ * 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.
1566
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1567
+ * @param {string} [dateFrom] The date to start counting used credits from.\\ If not specified, the date will be set to 1 week ago.\\ Up to 90 days in advance can be specified. If the specified date is more than 90 days in the past, the date will be set to 90 days ago.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-21\&quot;).
1568
+ * @param {string} [dateTo] The date to end counting used credits from.\\ If not specified, the date will be set to today.\\ Date must follow the format YYYY-MM-DD (example: \&quot;2023-09-28\&quot;).
1569
+ * @param {number} [scenarioId] The scenario ID to filter used credits by.
1570
+ * @param {number} [testPlanId] The test plan ID to filter used credits by.
1571
+ * @param {number} [userId] The user ID that executed tests to filter used credits by.
1572
+ * @param {*} [options] Override http request option.
1573
+ * @throws {RequiredError}
1574
+ * @memberof CreditApi
1575
+ */
1576
+ getCreditUsage(projectId: number, dateFrom?: string, dateTo?: string, scenarioId?: number, testPlanId?: number, userId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UsedCredits, any>>;
1577
+ }
1578
+ /**
1579
+ * ProjectApi - axios parameter creator
1580
+ * @export
1581
+ */
1582
+ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration) => {
1583
+ /**
1584
+ * Get project information.
1585
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/project_info
1586
+ * @param {*} [options] Override http request option.
1587
+ * @throws {RequiredError}
1588
+ */
1589
+ getProjectInfo: (projectId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1590
+ };
1591
+ /**
1592
+ * ProjectApi - functional programming interface
1593
+ * @export
1594
+ */
1595
+ export declare const ProjectApiFp: (configuration?: Configuration) => {
1596
+ /**
1597
+ * Get project information.
1598
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/project_info
1599
+ * @param {*} [options] Override http request option.
1600
+ * @throws {RequiredError}
1601
+ */
1602
+ getProjectInfo(projectId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectInfo>>;
1603
+ };
1604
+ /**
1605
+ * ProjectApi - factory interface
1606
+ * @export
1607
+ */
1608
+ export declare const ProjectApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1609
+ /**
1610
+ * Get project information.
1611
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/project_info
1612
+ * @param {*} [options] Override http request option.
1613
+ * @throws {RequiredError}
1614
+ */
1615
+ getProjectInfo(projectId: number, options?: any): AxiosPromise<ProjectInfo>;
1616
+ };
1617
+ /**
1618
+ * ProjectApi - object-oriented interface
1619
+ * @export
1620
+ * @class ProjectApi
1621
+ * @extends {BaseAPI}
1622
+ */
1623
+ export declare class ProjectApi extends BaseAPI {
1624
+ /**
1625
+ * Get project information.
1626
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/project_info
1627
+ * @param {*} [options] Override http request option.
1628
+ * @throws {RequiredError}
1629
+ * @memberof ProjectApi
1630
+ */
1631
+ getProjectInfo(projectId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInfo, any>>;
1632
+ }
1328
1633
  /**
1329
1634
  * ResultApi - axios parameter creator
1330
1635
  * @export
@@ -1335,10 +1640,11 @@ export declare const ResultApiAxiosParamCreator: (configuration?: Configuration)
1335
1640
  * @summary Get a test result.
1336
1641
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
1337
1642
  * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
1643
+ * @param {boolean} [getDetails] The flag to get details of the test case result.
1338
1644
  * @param {*} [options] Override http request option.
1339
1645
  * @throws {RequiredError}
1340
1646
  */
1341
- describeResult: (projectId: number, resultId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1647
+ describeResult: (projectId: number, resultId: number, getDetails?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1342
1648
  /**
1343
1649
  * List test results.
1344
1650
  * @summary List test results.
@@ -1361,10 +1667,11 @@ export declare const ResultApiFp: (configuration?: Configuration) => {
1361
1667
  * @summary Get a test result.
1362
1668
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
1363
1669
  * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
1670
+ * @param {boolean} [getDetails] The flag to get details of the test case result.
1364
1671
  * @param {*} [options] Override http request option.
1365
1672
  * @throws {RequiredError}
1366
1673
  */
1367
- describeResult(projectId: number, resultId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DescribeResult200Response>>;
1674
+ describeResult(projectId: number, resultId: number, getDetails?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DescribeResult200Response>>;
1368
1675
  /**
1369
1676
  * List test results.
1370
1677
  * @summary List test results.
@@ -1387,10 +1694,11 @@ export declare const ResultApiFactory: (configuration?: Configuration, basePath?
1387
1694
  * @summary Get a test result.
1388
1695
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
1389
1696
  * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
1697
+ * @param {boolean} [getDetails] The flag to get details of the test case result.
1390
1698
  * @param {*} [options] Override http request option.
1391
1699
  * @throws {RequiredError}
1392
1700
  */
1393
- describeResult(projectId: number, resultId: number, options?: any): AxiosPromise<DescribeResult200Response>;
1701
+ describeResult(projectId: number, resultId: number, getDetails?: boolean, options?: any): AxiosPromise<DescribeResult200Response>;
1394
1702
  /**
1395
1703
  * List test results.
1396
1704
  * @summary List test results.
@@ -1415,11 +1723,12 @@ export declare class ResultApi extends BaseAPI {
1415
1723
  * @summary Get a test result.
1416
1724
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
1417
1725
  * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
1726
+ * @param {boolean} [getDetails] The flag to get details of the test case result.
1418
1727
  * @param {*} [options] Override http request option.
1419
1728
  * @throws {RequiredError}
1420
1729
  * @memberof ResultApi
1421
1730
  */
1422
- describeResult(projectId: number, resultId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any>>;
1731
+ describeResult(projectId: number, resultId: number, getDetails?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any>>;
1423
1732
  /**
1424
1733
  * List test results.
1425
1734
  * @summary List test results.
@@ -1621,6 +1930,164 @@ export declare class ScheduleApi extends BaseAPI {
1621
1930
  */
1622
1931
  executeSchedule(scheduleId: number, executeScheduleRequest?: ExecuteScheduleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSchedule200Response, any>>;
1623
1932
  }
1933
+ /**
1934
+ * TestPlanVariableApi - axios parameter creator
1935
+ * @export
1936
+ */
1937
+ export declare const TestPlanVariableApiAxiosParamCreator: (configuration?: Configuration) => {
1938
+ /**
1939
+ * Create a new variable for the test plan
1940
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1941
+ * @param {CreateTestPlanVariableRequest} createTestPlanVariableRequest The new variable key and default value to use in the test plan
1942
+ * @param {*} [options] Override http request option.
1943
+ * @throws {RequiredError}
1944
+ */
1945
+ createTestPlanVariable: (testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1946
+ /**
1947
+ * Delete an existing test plan variable for the test plan
1948
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/
1949
+ * @param {number} testPlanVariableId test_plan_variable id
1950
+ * @param {*} [options] Override http request option.
1951
+ * @throws {RequiredError}
1952
+ */
1953
+ deleteTestPlanVariable: (testPlanId: number, testPlanVariableId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1954
+ /**
1955
+ * List the test plan\'s variables
1956
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1957
+ * @param {*} [options] Override http request option.
1958
+ * @throws {RequiredError}
1959
+ */
1960
+ listTestPlanVariable: (testPlanId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1961
+ /**
1962
+ * Update a url replacement for the test plan
1963
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1964
+ * @param {number} testPlanVariableId test_plan_variable id
1965
+ * @param {UpdateTestPlanVariableRequest} updateTestPlanVariableRequest The variable\&#39;s new key and/or default_value\&#39;s value to register
1966
+ * @param {*} [options] Override http request option.
1967
+ * @throws {RequiredError}
1968
+ */
1969
+ updateTestPlanVariable: (testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1970
+ };
1971
+ /**
1972
+ * TestPlanVariableApi - functional programming interface
1973
+ * @export
1974
+ */
1975
+ export declare const TestPlanVariableApiFp: (configuration?: Configuration) => {
1976
+ /**
1977
+ * Create a new variable for the test plan
1978
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1979
+ * @param {CreateTestPlanVariableRequest} createTestPlanVariableRequest The new variable key and default value to use in the test plan
1980
+ * @param {*} [options] Override http request option.
1981
+ * @throws {RequiredError}
1982
+ */
1983
+ createTestPlanVariable(testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestPlanVariable>>;
1984
+ /**
1985
+ * Delete an existing test plan variable for the test plan
1986
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/
1987
+ * @param {number} testPlanVariableId test_plan_variable id
1988
+ * @param {*} [options] Override http request option.
1989
+ * @throws {RequiredError}
1990
+ */
1991
+ deleteTestPlanVariable(testPlanId: number, testPlanVariableId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1992
+ /**
1993
+ * List the test plan\'s variables
1994
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1995
+ * @param {*} [options] Override http request option.
1996
+ * @throws {RequiredError}
1997
+ */
1998
+ listTestPlanVariable(testPlanId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TestPlanVariable>>>;
1999
+ /**
2000
+ * Update a url replacement for the test plan
2001
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
2002
+ * @param {number} testPlanVariableId test_plan_variable id
2003
+ * @param {UpdateTestPlanVariableRequest} updateTestPlanVariableRequest The variable\&#39;s new key and/or default_value\&#39;s value to register
2004
+ * @param {*} [options] Override http request option.
2005
+ * @throws {RequiredError}
2006
+ */
2007
+ updateTestPlanVariable(testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestPlanVariable>>;
2008
+ };
2009
+ /**
2010
+ * TestPlanVariableApi - factory interface
2011
+ * @export
2012
+ */
2013
+ export declare const TestPlanVariableApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2014
+ /**
2015
+ * Create a new variable for the test plan
2016
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
2017
+ * @param {CreateTestPlanVariableRequest} createTestPlanVariableRequest The new variable key and default value to use in the test plan
2018
+ * @param {*} [options] Override http request option.
2019
+ * @throws {RequiredError}
2020
+ */
2021
+ createTestPlanVariable(testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: any): AxiosPromise<TestPlanVariable>;
2022
+ /**
2023
+ * Delete an existing test plan variable for the test plan
2024
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/
2025
+ * @param {number} testPlanVariableId test_plan_variable id
2026
+ * @param {*} [options] Override http request option.
2027
+ * @throws {RequiredError}
2028
+ */
2029
+ deleteTestPlanVariable(testPlanId: number, testPlanVariableId: number, options?: any): AxiosPromise<string>;
2030
+ /**
2031
+ * List the test plan\'s variables
2032
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
2033
+ * @param {*} [options] Override http request option.
2034
+ * @throws {RequiredError}
2035
+ */
2036
+ listTestPlanVariable(testPlanId: number, options?: any): AxiosPromise<Array<TestPlanVariable>>;
2037
+ /**
2038
+ * Update a url replacement for the test plan
2039
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
2040
+ * @param {number} testPlanVariableId test_plan_variable id
2041
+ * @param {UpdateTestPlanVariableRequest} updateTestPlanVariableRequest The variable\&#39;s new key and/or default_value\&#39;s value to register
2042
+ * @param {*} [options] Override http request option.
2043
+ * @throws {RequiredError}
2044
+ */
2045
+ updateTestPlanVariable(testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: any): AxiosPromise<TestPlanVariable>;
2046
+ };
2047
+ /**
2048
+ * TestPlanVariableApi - object-oriented interface
2049
+ * @export
2050
+ * @class TestPlanVariableApi
2051
+ * @extends {BaseAPI}
2052
+ */
2053
+ export declare class TestPlanVariableApi extends BaseAPI {
2054
+ /**
2055
+ * Create a new variable for the test plan
2056
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
2057
+ * @param {CreateTestPlanVariableRequest} createTestPlanVariableRequest The new variable key and default value to use in the test plan
2058
+ * @param {*} [options] Override http request option.
2059
+ * @throws {RequiredError}
2060
+ * @memberof TestPlanVariableApi
2061
+ */
2062
+ createTestPlanVariable(testPlanId: number, createTestPlanVariableRequest: CreateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any>>;
2063
+ /**
2064
+ * Delete an existing test plan variable for the test plan
2065
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/
2066
+ * @param {number} testPlanVariableId test_plan_variable id
2067
+ * @param {*} [options] Override http request option.
2068
+ * @throws {RequiredError}
2069
+ * @memberof TestPlanVariableApi
2070
+ */
2071
+ deleteTestPlanVariable(testPlanId: number, testPlanVariableId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
2072
+ /**
2073
+ * List the test plan\'s variables
2074
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
2075
+ * @param {*} [options] Override http request option.
2076
+ * @throws {RequiredError}
2077
+ * @memberof TestPlanVariableApi
2078
+ */
2079
+ listTestPlanVariable(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable[], any>>;
2080
+ /**
2081
+ * Update a url replacement for the test plan
2082
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
2083
+ * @param {number} testPlanVariableId test_plan_variable id
2084
+ * @param {UpdateTestPlanVariableRequest} updateTestPlanVariableRequest The variable\&#39;s new key and/or default_value\&#39;s value to register
2085
+ * @param {*} [options] Override http request option.
2086
+ * @throws {RequiredError}
2087
+ * @memberof TestPlanVariableApi
2088
+ */
2089
+ updateTestPlanVariable(testPlanId: number, testPlanVariableId: number, updateTestPlanVariableRequest: UpdateTestPlanVariableRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanVariable, any>>;
2090
+ }
1624
2091
  /**
1625
2092
  * UrlReplacementApi - axios parameter creator
1626
2093
  * @export