@autifyhq/autify-sdk 0.22.0 → 0.23.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.
@@ -52,10 +52,10 @@ export declare class WebClient {
52
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
- * 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.
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.
56
56
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
57
- * @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;).
58
- * @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;).
57
+ * @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: "2023-09-21").
58
+ * @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: "2023-09-28").
59
59
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
60
60
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
61
61
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -108,7 +108,7 @@ export declare class WebClient {
108
108
  */
109
109
  describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario, any>>;
110
110
  /**
111
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
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
113
113
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
114
114
  * @param {*} [options] Override http request option.
@@ -127,7 +127,7 @@ export declare class WebClient {
127
127
  listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario[], any>>;
128
128
  private readonly scheduleApi;
129
129
  /**
130
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
130
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
131
131
  * @summary Run a test plan.
132
132
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
133
133
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -95,10 +95,10 @@ class WebClient {
95
95
  return this.capabilityApi.listCapabilities(projectId, os, osType, browser, browserType, deviceType, options);
96
96
  }
97
97
  /**
98
- * 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.
98
+ * 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.
99
99
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
100
- * @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;).
101
- * @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;).
100
+ * @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: "2023-09-21").
101
+ * @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: "2023-09-28").
102
102
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
103
103
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
104
104
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -158,7 +158,7 @@ class WebClient {
158
158
  return this.scenarioApi.describeScenario(projectId, scenarioId, options);
159
159
  }
160
160
  /**
161
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
161
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
162
162
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
163
163
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
164
164
  * @param {*} [options] Override http request option.
@@ -180,7 +180,7 @@ class WebClient {
180
180
  return this.scenarioApi.listScenarios(projectId, page, options);
181
181
  }
182
182
  /**
183
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
183
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
184
184
  * @summary Run a test plan.
185
185
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
186
186
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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
  *
@@ -534,13 +534,13 @@ export interface ExecuteScenarios404ResponseErrorsInner {
534
534
  */
535
535
  export interface ExecuteScenariosRequest {
536
536
  /**
537
- * Defaults to \"API execution {{time_at(Time.now, organization.timezone)}}\"
537
+ * Defaults to "API execution {{time_at(Time.now, organization.timezone)}}"
538
538
  * @type {string}
539
539
  * @memberof ExecuteScenariosRequest
540
540
  */
541
541
  name?: string;
542
542
  /**
543
- * Defaults to \"parallel\" (\"sequential\" In case parallel execution was disabled in the workspace)
543
+ * Defaults to "parallel" ("sequential" In case parallel execution was disabled in the workspace)
544
544
  * @type {string}
545
545
  * @memberof ExecuteScenariosRequest
546
546
  */
@@ -974,7 +974,7 @@ export interface TestCaseResult {
974
974
  */
975
975
  project_url?: string;
976
976
  /**
977
- * Number of \"Review needed\" flags present in the test results.
977
+ * Number of "Review needed" flags present in the test results.
978
978
  * @type {number}
979
979
  * @memberof TestCaseResult
980
980
  */
@@ -1570,10 +1570,10 @@ export declare class CapabilityApi extends BaseAPI {
1570
1570
  */
1571
1571
  export declare const CreditApiAxiosParamCreator: (configuration?: Configuration) => {
1572
1572
  /**
1573
- * 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.
1573
+ * 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.
1574
1574
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1575
- * @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;).
1576
- * @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;).
1575
+ * @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: "2023-09-21").
1576
+ * @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: "2023-09-28").
1577
1577
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
1578
1578
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
1579
1579
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -1588,10 +1588,10 @@ export declare const CreditApiAxiosParamCreator: (configuration?: Configuration)
1588
1588
  */
1589
1589
  export declare const CreditApiFp: (configuration?: Configuration) => {
1590
1590
  /**
1591
- * 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.
1591
+ * 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.
1592
1592
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1593
- * @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;).
1594
- * @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;).
1593
+ * @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: "2023-09-21").
1594
+ * @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: "2023-09-28").
1595
1595
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
1596
1596
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
1597
1597
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -1606,10 +1606,10 @@ export declare const CreditApiFp: (configuration?: Configuration) => {
1606
1606
  */
1607
1607
  export declare const CreditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1608
1608
  /**
1609
- * 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.
1609
+ * 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.
1610
1610
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1611
- * @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;).
1612
- * @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;).
1611
+ * @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: "2023-09-21").
1612
+ * @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: "2023-09-28").
1613
1613
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
1614
1614
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
1615
1615
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -1626,10 +1626,10 @@ export declare const CreditApiFactory: (configuration?: Configuration, basePath?
1626
1626
  */
1627
1627
  export declare class CreditApi extends BaseAPI {
1628
1628
  /**
1629
- * 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.
1629
+ * 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.
1630
1630
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
1631
- * @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;).
1632
- * @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;).
1631
+ * @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: "2023-09-21").
1632
+ * @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: "2023-09-28").
1633
1633
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
1634
1634
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
1635
1635
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -1820,7 +1820,7 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
1820
1820
  */
1821
1821
  describeScenario: (projectId: number, scenarioId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1822
1822
  /**
1823
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1823
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
1824
1824
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1825
1825
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1826
1826
  * @param {*} [options] Override http request option.
@@ -1850,7 +1850,7 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
1850
1850
  */
1851
1851
  describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Scenario>>;
1852
1852
  /**
1853
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1853
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
1854
1854
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1855
1855
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1856
1856
  * @param {*} [options] Override http request option.
@@ -1880,7 +1880,7 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
1880
1880
  */
1881
1881
  describeScenario(projectId: number, scenarioId: number, options?: any): AxiosPromise<Scenario>;
1882
1882
  /**
1883
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1883
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
1884
1884
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1885
1885
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1886
1886
  * @param {*} [options] Override http request option.
@@ -1913,7 +1913,7 @@ export declare class ScenarioApi extends BaseAPI {
1913
1913
  */
1914
1914
  describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario, any>>;
1915
1915
  /**
1916
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
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
1918
1918
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1919
1919
  * @param {*} [options] Override http request option.
@@ -1937,7 +1937,7 @@ export declare class ScenarioApi extends BaseAPI {
1937
1937
  */
1938
1938
  export declare const ScheduleApiAxiosParamCreator: (configuration?: Configuration) => {
1939
1939
  /**
1940
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1940
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1941
1941
  * @summary Run a test plan.
1942
1942
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1943
1943
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -1952,7 +1952,7 @@ export declare const ScheduleApiAxiosParamCreator: (configuration?: Configuratio
1952
1952
  */
1953
1953
  export declare const ScheduleApiFp: (configuration?: Configuration) => {
1954
1954
  /**
1955
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1955
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1956
1956
  * @summary Run a test plan.
1957
1957
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1958
1958
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -1967,7 +1967,7 @@ export declare const ScheduleApiFp: (configuration?: Configuration) => {
1967
1967
  */
1968
1968
  export declare const ScheduleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1969
1969
  /**
1970
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1970
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1971
1971
  * @summary Run a test plan.
1972
1972
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1973
1973
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -1984,7 +1984,7 @@ export declare const ScheduleApiFactory: (configuration?: Configuration, basePat
1984
1984
  */
1985
1985
  export declare class ScheduleApi extends BaseAPI {
1986
1986
  /**
1987
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1987
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1988
1988
  * @summary Run a test plan.
1989
1989
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1990
1990
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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
  *
@@ -520,10 +520,10 @@ exports.CapabilityApi = CapabilityApi;
520
520
  const CreditApiAxiosParamCreator = function (configuration) {
521
521
  return {
522
522
  /**
523
- * 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.
523
+ * 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.
524
524
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
525
- * @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;).
526
- * @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;).
525
+ * @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: "2023-09-21").
526
+ * @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: "2023-09-28").
527
527
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
528
528
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
529
529
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -594,10 +594,10 @@ const CreditApiFp = function (configuration) {
594
594
  const localVarAxiosParamCreator = (0, exports.CreditApiAxiosParamCreator)(configuration);
595
595
  return {
596
596
  /**
597
- * 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.
597
+ * 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.
598
598
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
599
- * @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;).
600
- * @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;).
599
+ * @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: "2023-09-21").
600
+ * @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: "2023-09-28").
601
601
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
602
602
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
603
603
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -619,10 +619,10 @@ const CreditApiFactory = function (configuration, basePath, axios) {
619
619
  const localVarFp = (0, exports.CreditApiFp)(configuration);
620
620
  return {
621
621
  /**
622
- * 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.
622
+ * 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.
623
623
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
624
- * @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;).
625
- * @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;).
624
+ * @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: "2023-09-21").
625
+ * @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: "2023-09-28").
626
626
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
627
627
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
628
628
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -645,10 +645,10 @@ exports.CreditApiFactory = CreditApiFactory;
645
645
  */
646
646
  class CreditApi extends base_1.BaseAPI {
647
647
  /**
648
- * 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.
648
+ * 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.
649
649
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/credits
650
- * @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;).
651
- * @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;).
650
+ * @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: "2023-09-21").
651
+ * @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: "2023-09-28").
652
652
  * @param {number} [scenarioId] The scenario ID to filter used credits by.
653
653
  * @param {number} [testPlanId] The test plan ID to filter used credits by.
654
654
  * @param {number} [userId] The user ID that executed tests to filter used credits by.
@@ -1046,7 +1046,7 @@ const ScenarioApiAxiosParamCreator = function (configuration) {
1046
1046
  };
1047
1047
  },
1048
1048
  /**
1049
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1049
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
1050
1050
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1051
1051
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1052
1052
  * @param {*} [options] Override http request option.
@@ -1152,7 +1152,7 @@ const ScenarioApiFp = function (configuration) {
1152
1152
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1153
1153
  },
1154
1154
  /**
1155
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1155
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
1156
1156
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1157
1157
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1158
1158
  * @param {*} [options] Override http request option.
@@ -1196,7 +1196,7 @@ const ScenarioApiFactory = function (configuration, basePath, axios) {
1196
1196
  .then((request) => request(axios, basePath));
1197
1197
  },
1198
1198
  /**
1199
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1199
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
1200
1200
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1201
1201
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1202
1202
  * @param {*} [options] Override http request option.
@@ -1243,7 +1243,7 @@ class ScenarioApi extends base_1.BaseAPI {
1243
1243
  .then((request) => request(this.axios, this.basePath));
1244
1244
  }
1245
1245
  /**
1246
- * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1246
+ * You can execute any scenarios in your workspace using any execution environments (which is called "capabilities" here).
1247
1247
  * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1248
1248
  * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1249
1249
  * @param {*} [options] Override http request option.
@@ -1277,7 +1277,7 @@ exports.ScenarioApi = ScenarioApi;
1277
1277
  const ScheduleApiAxiosParamCreator = function (configuration) {
1278
1278
  return {
1279
1279
  /**
1280
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1280
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1281
1281
  * @summary Run a test plan.
1282
1282
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1283
1283
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -1329,7 +1329,7 @@ const ScheduleApiFp = function (configuration) {
1329
1329
  const localVarAxiosParamCreator = (0, exports.ScheduleApiAxiosParamCreator)(configuration);
1330
1330
  return {
1331
1331
  /**
1332
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1332
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1333
1333
  * @summary Run a test plan.
1334
1334
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1335
1335
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -1351,7 +1351,7 @@ const ScheduleApiFactory = function (configuration, basePath, axios) {
1351
1351
  const localVarFp = (0, exports.ScheduleApiFp)(configuration);
1352
1352
  return {
1353
1353
  /**
1354
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1354
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1355
1355
  * @summary Run a test plan.
1356
1356
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1357
1357
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -1374,7 +1374,7 @@ exports.ScheduleApiFactory = ScheduleApiFactory;
1374
1374
  */
1375
1375
  class ScheduleApi extends base_1.BaseAPI {
1376
1376
  /**
1377
- * \"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.
1377
+ * "Schedule" is called as "Test Plan" now. If you want to run a test plan, use this endpoint.
1378
1378
  * @summary Run a test plan.
1379
1379
  * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1380
1380
  * @param {ExecuteScheduleRequest} [executeScheduleRequest] The options to execute a test plan.
@@ -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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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). If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
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.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Autify SDK for JavaScript",
5
5
  "author": "Autify",
6
6
  "homepage": "https://github.com/autifyhq/autify-sdk-js",