@bitbar/cloud-api-client 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/API.d.ts +1 -0
- package/dist/CloudAPIClient.d.ts +2 -0
- package/dist/api/APIAdminResourceCluster.d.ts +1 -1
- package/dist/api/APIAdminResourceDeviceSession.d.ts +1 -1
- package/dist/api/APIAdminResourceDeviceSessionStandalone.d.ts +1 -1
- package/dist/api/APIAdminResourceRunStandalone.d.ts +1 -1
- package/dist/api/APIList.d.ts +1 -1
- package/dist/api/APIResourceChannel.d.ts +1 -1
- package/dist/api/APIResourceDeviceSession.d.ts +2 -2
- package/dist/api/APIResourceUser.d.ts +1 -2
- package/dist/api/class/index.d.ts +5 -0
- package/dist/api/factory/postAdminDeviceSessionChangeBillable.d.ts +1 -1
- package/dist/api/models/Device.d.ts +0 -1
- package/dist/bitbar-cloud-api-client.js +400 -41
- package/dist/bitbar-cloud-api-client.js.map +1 -1
- package/dist/bitbar-cloud-api-client.min.js +3 -3
- package/dist/bitbar-cloud-api-client.min.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/models.d.ts +66 -0
- package/package.json +1 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.0.
|
|
1
|
+
/* @bitbar/cloud-api-client v1.0.3 | Copyright 2022 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
|
|
2
2
|
(function (global, factory) {
|
|
3
|
-
typeof exports === 'object' && typeof module !== 'undefined' ?
|
|
4
|
-
typeof define === 'function' && define.amd ? define(['axios', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
|
|
5
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["bitbar-cloud-api-client"] =
|
|
6
|
-
})(this, (function (axios, finka, qs, nodeAbortController) { 'use strict';
|
|
3
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('axios'), require('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
|
|
4
|
+
typeof define === 'function' && define.amd ? define(['exports', 'axios', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
|
|
5
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["bitbar-cloud-api-client"] = {}, global.axios, global["@bitbar/finka"], global.qs, global["node-abort-controller"]));
|
|
6
|
+
})(this, (function (exports, axios, finka, qs, nodeAbortController) { 'use strict';
|
|
7
7
|
|
|
8
8
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
9
|
|
|
10
10
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
11
11
|
var finka__default = /*#__PURE__*/_interopDefaultLegacy(finka);
|
|
12
12
|
|
|
13
|
-
var version = "1.0.
|
|
14
|
-
|
|
15
|
-
/******************************************************************************
|
|
16
|
-
Copyright (c) Microsoft Corporation.
|
|
17
|
-
|
|
18
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
19
|
-
purpose with or without fee is hereby granted.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
22
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
23
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
24
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
25
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
26
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
28
|
-
***************************************************************************** */
|
|
29
|
-
|
|
30
|
-
function __decorate(decorators, target, key, desc) {
|
|
31
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
32
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
33
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
var version = "1.0.3";
|
|
14
|
+
|
|
15
|
+
/******************************************************************************
|
|
16
|
+
Copyright (c) Microsoft Corporation.
|
|
17
|
+
|
|
18
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
19
|
+
purpose with or without fee is hereby granted.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
22
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
23
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
24
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
25
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
26
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
28
|
+
***************************************************************************** */
|
|
29
|
+
|
|
30
|
+
function __decorate(decorators, target, key, desc) {
|
|
31
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
32
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
33
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
class Filter {
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
const ALLOWED_HTTP_METHODS = ['GET', 'POST', 'DELETE'];
|
|
158
|
-
|
|
158
|
+
exports.APIOrder = void 0;
|
|
159
159
|
(function (APIOrder) {
|
|
160
160
|
APIOrder["asc"] = "a";
|
|
161
161
|
APIOrder["desc"] = "d";
|
|
162
|
-
})(APIOrder || (APIOrder = {}));
|
|
162
|
+
})(exports.APIOrder || (exports.APIOrder = {}));
|
|
163
163
|
|
|
164
164
|
class APIEntity {
|
|
165
165
|
constructor(parent) {
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
create(data) {
|
|
312
312
|
return this.post().data(data).send();
|
|
313
313
|
}
|
|
314
|
-
sort(name, order = APIOrder.asc) {
|
|
314
|
+
sort(name, order = exports.APIOrder.asc) {
|
|
315
315
|
return this.params({
|
|
316
316
|
sort: `${name}_${order}`
|
|
317
317
|
});
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
|
|
592
|
+
exports.InputFileset = class InputFileset extends APIResource {
|
|
593
593
|
constructor(parent) {
|
|
594
594
|
super(parent);
|
|
595
595
|
this.push('input-file-set');
|
|
@@ -601,9 +601,9 @@
|
|
|
601
601
|
return new APIResource(this).push('files.zip');
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
|
-
InputFileset = __decorate([
|
|
604
|
+
exports.InputFileset = __decorate([
|
|
605
605
|
NonRequestable
|
|
606
|
-
], InputFileset);
|
|
606
|
+
], exports.InputFileset);
|
|
607
607
|
|
|
608
608
|
const IMAGE_FILES_FILTER = new FilterBuilder();
|
|
609
609
|
IMAGE_FILES_FILTER.eq('state', 'READY');
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
'video/mp4', 'video/avi', 'video/webm', 'video/ogg', 'video/mpeg'
|
|
620
620
|
]);
|
|
621
621
|
|
|
622
|
-
|
|
622
|
+
exports.OutputFileset = class OutputFileset extends APIResource {
|
|
623
623
|
constructor(parent) {
|
|
624
624
|
super(parent);
|
|
625
625
|
this.push('output-file-set');
|
|
@@ -660,9 +660,9 @@
|
|
|
660
660
|
return this.files().filter(IMAGE_FILES_FILTER);
|
|
661
661
|
}
|
|
662
662
|
};
|
|
663
|
-
OutputFileset = __decorate([
|
|
663
|
+
exports.OutputFileset = __decorate([
|
|
664
664
|
NonRequestable
|
|
665
|
-
], OutputFileset);
|
|
665
|
+
], exports.OutputFileset);
|
|
666
666
|
|
|
667
667
|
class APIResourceDeviceSessionCommon extends APIResource {
|
|
668
668
|
constructor(parent, id) {
|
|
@@ -676,10 +676,10 @@
|
|
|
676
676
|
return new APIList(this).push('commands');
|
|
677
677
|
}
|
|
678
678
|
input() {
|
|
679
|
-
return new InputFileset(this);
|
|
679
|
+
return new exports.InputFileset(this);
|
|
680
680
|
}
|
|
681
681
|
output() {
|
|
682
|
-
return new OutputFileset(this);
|
|
682
|
+
return new exports.OutputFileset(this);
|
|
683
683
|
}
|
|
684
684
|
screenshots() {
|
|
685
685
|
return new APIList(this).push('screenshots');
|
|
@@ -897,10 +897,10 @@
|
|
|
897
897
|
return new APIResource(this).push('connections', id);
|
|
898
898
|
}
|
|
899
899
|
input() {
|
|
900
|
-
return new InputFileset(this);
|
|
900
|
+
return new exports.InputFileset(this);
|
|
901
901
|
}
|
|
902
902
|
output() {
|
|
903
|
-
return new OutputFileset(this);
|
|
903
|
+
return new exports.OutputFileset(this);
|
|
904
904
|
}
|
|
905
905
|
release() {
|
|
906
906
|
return new APIResource(this).push('release').post();
|
|
@@ -1878,6 +1878,9 @@
|
|
|
1878
1878
|
license() {
|
|
1879
1879
|
return new APIResource(this).push('license');
|
|
1880
1880
|
}
|
|
1881
|
+
ma() {
|
|
1882
|
+
throw new Error('Requires prototype extension covering ACL check');
|
|
1883
|
+
}
|
|
1881
1884
|
me() {
|
|
1882
1885
|
return this.user('me');
|
|
1883
1886
|
}
|
|
@@ -1915,7 +1918,363 @@
|
|
|
1915
1918
|
FilterBuilder
|
|
1916
1919
|
};
|
|
1917
1920
|
|
|
1918
|
-
|
|
1921
|
+
exports.AccessGroupScope = void 0;
|
|
1922
|
+
(function (AccessGroupScope) {
|
|
1923
|
+
AccessGroupScope["USER"] = "USER";
|
|
1924
|
+
AccessGroupScope["ACCOUNT"] = "ACCOUNT";
|
|
1925
|
+
AccessGroupScope["GLOBAL"] = "GLOBAL";
|
|
1926
|
+
})(exports.AccessGroupScope || (exports.AccessGroupScope = {}));
|
|
1927
|
+
|
|
1928
|
+
exports.PaymentStatus = void 0;
|
|
1929
|
+
(function (PaymentStatus) {
|
|
1930
|
+
PaymentStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
1931
|
+
PaymentStatus["FAILED"] = "FAILED";
|
|
1932
|
+
PaymentStatus["REDIRECTED"] = "REDIRECTED";
|
|
1933
|
+
})(exports.PaymentStatus || (exports.PaymentStatus = {}));
|
|
1934
|
+
exports.PaymentMethod = void 0;
|
|
1935
|
+
(function (PaymentMethod) {
|
|
1936
|
+
PaymentMethod["PAYPAL"] = "PAYPAL";
|
|
1937
|
+
PaymentMethod["BRAINTREE"] = "BRAINTREE";
|
|
1938
|
+
PaymentMethod["STRIPE"] = "STRIPE";
|
|
1939
|
+
PaymentMethod["INVOICE"] = "INVOICE";
|
|
1940
|
+
PaymentMethod["PROMOTION"] = "PROMOTION";
|
|
1941
|
+
PaymentMethod["AWS"] = "AWS";
|
|
1942
|
+
})(exports.PaymentMethod || (exports.PaymentMethod = {}));
|
|
1943
|
+
exports.ChargeType = void 0;
|
|
1944
|
+
(function (ChargeType) {
|
|
1945
|
+
ChargeType["USAGE_MOBILE"] = "USAGE_MOBILE";
|
|
1946
|
+
ChargeType["CONCURRENCY_MOBILE"] = "CONCURRENCY_MOBILE";
|
|
1947
|
+
ChargeType["CONCURRENCY_DESKTOP"] = "CONCURRENCY_DESKTOP";
|
|
1948
|
+
})(exports.ChargeType || (exports.ChargeType = {}));
|
|
1949
|
+
exports.DeactivateReason = void 0;
|
|
1950
|
+
(function (DeactivateReason) {
|
|
1951
|
+
DeactivateReason["INITIAL_FAILURE"] = "INITIAL_FAILURE";
|
|
1952
|
+
DeactivateReason["SCA_FAILURE"] = "SCA_FAILURE";
|
|
1953
|
+
DeactivateReason["CHARGE_FAILURE"] = "CHARGE_FAILURE";
|
|
1954
|
+
DeactivateReason["CANCEL"] = "CANCEL";
|
|
1955
|
+
DeactivateReason["SUSPENDED"] = "SUSPENDED";
|
|
1956
|
+
DeactivateReason["ANOTHER_PURCHASE"] = "ANOTHER_PURCHASE";
|
|
1957
|
+
})(exports.DeactivateReason || (exports.DeactivateReason = {}));
|
|
1958
|
+
|
|
1959
|
+
exports.InitStep = void 0;
|
|
1960
|
+
(function (InitStep) {
|
|
1961
|
+
InitStep["SKIP"] = "SKIP";
|
|
1962
|
+
InitStep["REBOOT"] = "REBOOT";
|
|
1963
|
+
InitStep["REBOOT_WITH_UNLOCK"] = "REBOOT_WITH_UNLOCK";
|
|
1964
|
+
InitStep["UNLOCK_ONLY"] = "UNLOCK_ONLY";
|
|
1965
|
+
})(exports.InitStep || (exports.InitStep = {}));
|
|
1966
|
+
exports.DeviceState = void 0;
|
|
1967
|
+
(function (DeviceState) {
|
|
1968
|
+
DeviceState["OFFLINE_CLEANING"] = "OFFLINE_CLEANING";
|
|
1969
|
+
DeviceState["OFFLINE_DIRTY"] = "OFFLINE_DIRTY";
|
|
1970
|
+
DeviceState["OFFLINE_FREE"] = "OFFLINE_FREE";
|
|
1971
|
+
DeviceState["OFFLINE_TESTING"] = "OFFLINE_TESTING";
|
|
1972
|
+
DeviceState["ONLINE_CLEANING"] = "ONLINE_CLEANING";
|
|
1973
|
+
DeviceState["ONLINE_DIRTY"] = "ONLINE_DIRTY";
|
|
1974
|
+
DeviceState["ONLINE_FREE"] = "ONLINE_FREE";
|
|
1975
|
+
DeviceState["ONLINE_TESTING"] = "ONLINE_TESTING";
|
|
1976
|
+
})(exports.DeviceState || (exports.DeviceState = {}));
|
|
1977
|
+
|
|
1978
|
+
exports.AdminErrorType = void 0;
|
|
1979
|
+
(function (AdminErrorType) {
|
|
1980
|
+
AdminErrorType["ABORT_REQUEST"] = "ABORT_REQUEST";
|
|
1981
|
+
AdminErrorType["ADB_COMMAND_REJECTED"] = "ADB_COMMAND_REJECTED";
|
|
1982
|
+
AdminErrorType["ADB_SHELL_COMMAND_FAILED"] = "ADB_SHELL_COMMAND_FAILED";
|
|
1983
|
+
AdminErrorType["APP_LOCK_NOT_INSTALLED"] = "APP_LOCK_NOT_INSTALLED";
|
|
1984
|
+
AdminErrorType["DEVICE_OFFLINE"] = "DEVICE_OFFLINE";
|
|
1985
|
+
AdminErrorType["DEVICE_OUTPUT_NULL"] = "DEVICE_OUTPUT_NULL";
|
|
1986
|
+
AdminErrorType["GAMEBENCH_ERROR"] = "GAMEBENCH_ERROR";
|
|
1987
|
+
AdminErrorType["GAMEBENCH_NOT_SUPPORTED"] = "GAMEBENCH_NOT_SUPPORTED";
|
|
1988
|
+
AdminErrorType["GRANT_FAILED"] = "GRANT_FAILED";
|
|
1989
|
+
AdminErrorType["INSTALL_FAILED"] = "INSTALL_FAILED";
|
|
1990
|
+
AdminErrorType["INTERACTIVE_SETUP_FAILED"] = "INTERACTIVE_SETUP_FAILED";
|
|
1991
|
+
AdminErrorType["INTERNAL_INSTALL_FAILED"] = "INTERNAL_INSTALL_FAILED";
|
|
1992
|
+
AdminErrorType["INVALID_TEST_SESSION_FILE"] = "INVALID_TEST_SESSION_FILE";
|
|
1993
|
+
AdminErrorType["LOCK_EXPIRED"] = "LOCK_EXPIRED";
|
|
1994
|
+
AdminErrorType["LOCK_TIMEOUT"] = "LOCK_TIMEOUT";
|
|
1995
|
+
AdminErrorType["NO_NETWORK_CONNECTION"] = "NO_NETWORK_CONNECTION";
|
|
1996
|
+
AdminErrorType["OTHER"] = "OTHER";
|
|
1997
|
+
AdminErrorType["REBOOTING_TIMEOUT"] = "REBOOTING_TIMEOUT";
|
|
1998
|
+
AdminErrorType["REPACKAGING"] = "REPACKAGING";
|
|
1999
|
+
AdminErrorType["RESULTS_PREPARING"] = "RESULTS_PREPARING";
|
|
2000
|
+
AdminErrorType["RESULTS_PROCESSING"] = "RESULTS_PROCESSING";
|
|
2001
|
+
AdminErrorType["RESULTS_SENDING"] = "RESULTS_SENDING";
|
|
2002
|
+
AdminErrorType["STEP_TIMEOUT"] = "STEP_TIMEOUT";
|
|
2003
|
+
AdminErrorType["SYSTEM_FAILURE"] = "SYSTEM_FAILURE";
|
|
2004
|
+
AdminErrorType["TEST_RUN_FAILED"] = "TEST_RUN_FAILED";
|
|
2005
|
+
AdminErrorType["TEST_RUN_INTERRUPTED"] = "TEST_RUN_INTERRUPTED";
|
|
2006
|
+
AdminErrorType["TEST_RUN_TIMEOUT"] = "TEST_RUN_TIMEOUT";
|
|
2007
|
+
AdminErrorType["TEST_RUN_WARNED"] = "TEST_RUN_WARNED";
|
|
2008
|
+
AdminErrorType["TEST_TIMEOUT"] = "TEST_TIMEOUT";
|
|
2009
|
+
AdminErrorType["VNC_CONNECTION_SETUP_FAILED"] = "VNC_CONNECTION_SETUP_FAILED";
|
|
2010
|
+
AdminErrorType["XCRUN_INSTRUMENTS_COMMAND_FAILED"] = "XCRUN_INSTRUMENTS_COMMAND_FAILED";
|
|
2011
|
+
AdminErrorType["XCRUN_INSTRUMENTS_JS_ERROR"] = "XCRUN_INSTRUMENTS_JS_ERROR";
|
|
2012
|
+
})(exports.AdminErrorType || (exports.AdminErrorType = {}));
|
|
2013
|
+
|
|
2014
|
+
exports.FrameworkType = void 0;
|
|
2015
|
+
(function (FrameworkType) {
|
|
2016
|
+
FrameworkType["AUTOMATIC"] = "AUTOMATIC";
|
|
2017
|
+
FrameworkType["MANUAL_APP"] = "MANUAL_APP";
|
|
2018
|
+
FrameworkType["MANUAL_WEB"] = "MANUAL_WEB";
|
|
2019
|
+
FrameworkType["REMOTE"] = "REMOTE";
|
|
2020
|
+
})(exports.FrameworkType || (exports.FrameworkType = {}));
|
|
2021
|
+
|
|
2022
|
+
exports.BrokerType = void 0;
|
|
2023
|
+
(function (BrokerType) {
|
|
2024
|
+
BrokerType["MOBILE"] = "MOBILE";
|
|
2025
|
+
BrokerType["DESKTOP"] = "DESKTOP";
|
|
2026
|
+
})(exports.BrokerType || (exports.BrokerType = {}));
|
|
2027
|
+
|
|
2028
|
+
exports.ClusterState = void 0;
|
|
2029
|
+
(function (ClusterState) {
|
|
2030
|
+
ClusterState[ClusterState["OFFLINE"] = 0] = "OFFLINE";
|
|
2031
|
+
ClusterState["ONLINE"] = "ONLINE";
|
|
2032
|
+
ClusterState["RESTARTING"] = "RESTARTING";
|
|
2033
|
+
ClusterState["QUIET_DOWN"] = "QUIET_DOWN";
|
|
2034
|
+
ClusterState["MAINTENANCE"] = "MAINTENANCE";
|
|
2035
|
+
})(exports.ClusterState || (exports.ClusterState = {}));
|
|
2036
|
+
|
|
2037
|
+
exports.DeviceGroupOrigin = void 0;
|
|
2038
|
+
(function (DeviceGroupOrigin) {
|
|
2039
|
+
DeviceGroupOrigin["STATIC"] = "STATIC";
|
|
2040
|
+
DeviceGroupOrigin["DYNAMIC"] = "DYNAMIC";
|
|
2041
|
+
DeviceGroupOrigin["HYBRID"] = "HYBRID";
|
|
2042
|
+
})(exports.DeviceGroupOrigin || (exports.DeviceGroupOrigin = {}));
|
|
2043
|
+
exports.Platform = void 0;
|
|
2044
|
+
(function (Platform) {
|
|
2045
|
+
Platform["IOS"] = "IOS";
|
|
2046
|
+
Platform["ANDROID"] = "ANDROID";
|
|
2047
|
+
Platform["WINDOWS"] = "WINDOWS";
|
|
2048
|
+
Platform["MAC"] = "MAC";
|
|
2049
|
+
Platform["LINUX"] = "LINUX";
|
|
2050
|
+
Platform["UNDEFINED"] = "UNDEFINED";
|
|
2051
|
+
})(exports.Platform || (exports.Platform = {}));
|
|
2052
|
+
exports.SupportedCreators = void 0;
|
|
2053
|
+
(function (SupportedCreators) {
|
|
2054
|
+
SupportedCreators["MANUAL"] = "MANUAL";
|
|
2055
|
+
SupportedCreators["ROBOT"] = "ROBOT";
|
|
2056
|
+
SupportedCreators["AUTOMATIC"] = "AUTOMATIC";
|
|
2057
|
+
})(exports.SupportedCreators || (exports.SupportedCreators = {}));
|
|
2058
|
+
|
|
2059
|
+
exports.CriterionField = void 0;
|
|
2060
|
+
(function (CriterionField) {
|
|
2061
|
+
CriterionField["NAME"] = "NAME";
|
|
2062
|
+
CriterionField["FINGERPRINT"] = "FINGERPRINT";
|
|
2063
|
+
CriterionField["SERIAL_ID"] = "SERIAL_ID";
|
|
2064
|
+
CriterionField["UNLOCK_GESTURE"] = "UNLOCK_GESTURE";
|
|
2065
|
+
CriterionField["SOFTWARE_VERSION"] = "SOFTWARE_VERSION";
|
|
2066
|
+
CriterionField["INIT_STEP"] = "INIT_STEP";
|
|
2067
|
+
CriterionField["ACCOUNT"] = "ACCOUNT";
|
|
2068
|
+
CriterionField["BROWSERS"] = "BROWSERS";
|
|
2069
|
+
})(exports.CriterionField || (exports.CriterionField = {}));
|
|
2070
|
+
|
|
2071
|
+
exports.RetentionStrategy = void 0;
|
|
2072
|
+
(function (RetentionStrategy) {
|
|
2073
|
+
RetentionStrategy["CLUSTER_ON_OFF"] = "CLUSTER_ON_OFF";
|
|
2074
|
+
RetentionStrategy["MIN_FREE_MAX_TOTAL"] = "MIN_FREE_MAX_TOTAL";
|
|
2075
|
+
RetentionStrategy["POOL_MANAGER_AWARE"] = "POOL_MANAGER_AWARE";
|
|
2076
|
+
})(exports.RetentionStrategy || (exports.RetentionStrategy = {}));
|
|
2077
|
+
|
|
2078
|
+
exports.ProblemType = void 0;
|
|
2079
|
+
(function (ProblemType) {
|
|
2080
|
+
ProblemType["CLEANING"] = "CLEANING";
|
|
2081
|
+
ProblemType["DIRTY"] = "DIRTY";
|
|
2082
|
+
ProblemType["OFFLINE"] = "OFFLINE";
|
|
2083
|
+
ProblemType["LOW_BATTERY"] = "LOW_BATTERY";
|
|
2084
|
+
ProblemType["HIGH_FAIL_RATE"] = "HIGH_FAIL_RATE";
|
|
2085
|
+
ProblemType["NO_INTERNET_CONNECTION"] = "NO_INTERNET_CONNECTION";
|
|
2086
|
+
})(exports.ProblemType || (exports.ProblemType = {}));
|
|
2087
|
+
|
|
2088
|
+
exports.DeviceSessionType = void 0;
|
|
2089
|
+
(function (DeviceSessionType) {
|
|
2090
|
+
DeviceSessionType["AUTOMATIC"] = "AUTOMATIC";
|
|
2091
|
+
DeviceSessionType["MANUAL"] = "MANUAL";
|
|
2092
|
+
DeviceSessionType["MANUAL_APP"] = "MANUAL_APP";
|
|
2093
|
+
DeviceSessionType["MANUAL_WEB"] = "MANUAL_WEB";
|
|
2094
|
+
DeviceSessionType["REMOTE"] = "REMOTE";
|
|
2095
|
+
})(exports.DeviceSessionType || (exports.DeviceSessionType = {}));
|
|
2096
|
+
exports.RetryState = void 0;
|
|
2097
|
+
(function (RetryState) {
|
|
2098
|
+
RetryState["NONE"] = "NONE";
|
|
2099
|
+
RetryState["MANUAL"] = "MANUAL";
|
|
2100
|
+
RetryState["AUTO"] = "AUTO";
|
|
2101
|
+
})(exports.RetryState || (exports.RetryState = {}));
|
|
2102
|
+
exports.DeviceSessionState = void 0;
|
|
2103
|
+
(function (DeviceSessionState) {
|
|
2104
|
+
DeviceSessionState["ABORTED"] = "ABORTED";
|
|
2105
|
+
DeviceSessionState["EXCLUDED"] = "EXCLUDED";
|
|
2106
|
+
DeviceSessionState["FAILED"] = "FAILED";
|
|
2107
|
+
DeviceSessionState["RUNNING"] = "RUNNING";
|
|
2108
|
+
DeviceSessionState["SUCCEEDED"] = "SUCCEEDED";
|
|
2109
|
+
DeviceSessionState["TIMEOUT"] = "TIMEOUT";
|
|
2110
|
+
DeviceSessionState["WAITING"] = "WAITING";
|
|
2111
|
+
DeviceSessionState["WARNING"] = "WARNING";
|
|
2112
|
+
})(exports.DeviceSessionState || (exports.DeviceSessionState = {}));
|
|
2113
|
+
exports.DeviceSessionStepType = void 0;
|
|
2114
|
+
(function (DeviceSessionStepType) {
|
|
2115
|
+
DeviceSessionStepType["WAITING"] = "WAITING";
|
|
2116
|
+
DeviceSessionStepType["PREPARING"] = "PREPARING";
|
|
2117
|
+
DeviceSessionStepType["UNINSTALL"] = "UNINSTALL";
|
|
2118
|
+
DeviceSessionStepType["INSTALL"] = "INSTALL";
|
|
2119
|
+
DeviceSessionStepType["RUNNING"] = "RUNNING";
|
|
2120
|
+
DeviceSessionStepType["SENDING_RESULTS"] = "SENDING_RESULTS";
|
|
2121
|
+
DeviceSessionStepType["PROCESSING_RESULTS"] = "PROCESSING_RESULTS";
|
|
2122
|
+
})(exports.DeviceSessionStepType || (exports.DeviceSessionStepType = {}));
|
|
2123
|
+
|
|
2124
|
+
exports.OsType = void 0;
|
|
2125
|
+
(function (OsType) {
|
|
2126
|
+
OsType["IOS"] = "IOS";
|
|
2127
|
+
OsType["ANDROID"] = "ANDROID";
|
|
2128
|
+
OsType["DESKTOP"] = "DESKTOP";
|
|
2129
|
+
OsType["UNDEFINED"] = "UNDEFINED";
|
|
2130
|
+
})(exports.OsType || (exports.OsType = {}));
|
|
2131
|
+
|
|
2132
|
+
exports.LicenseStatus = void 0;
|
|
2133
|
+
(function (LicenseStatus) {
|
|
2134
|
+
LicenseStatus["ACTIVE"] = "ACTIVE";
|
|
2135
|
+
LicenseStatus["EXPIRED"] = "EXPIRED";
|
|
2136
|
+
LicenseStatus["INACTIVE"] = "INACTIVE";
|
|
2137
|
+
LicenseStatus["CLOSED"] = "CLOSED";
|
|
2138
|
+
})(exports.LicenseStatus || (exports.LicenseStatus = {}));
|
|
2139
|
+
|
|
2140
|
+
exports.MaintenanceType = void 0;
|
|
2141
|
+
(function (MaintenanceType) {
|
|
2142
|
+
MaintenanceType["BARE_METAL"] = "BARE_METAL";
|
|
2143
|
+
MaintenanceType["EC2"] = "EC2";
|
|
2144
|
+
MaintenanceType["VM"] = "VM";
|
|
2145
|
+
})(exports.MaintenanceType || (exports.MaintenanceType = {}));
|
|
2146
|
+
|
|
2147
|
+
exports.NotificationChannel = void 0;
|
|
2148
|
+
(function (NotificationChannel) {
|
|
2149
|
+
NotificationChannel["SLACK"] = "SLACK";
|
|
2150
|
+
NotificationChannel["EMAIL"] = "EMAIL";
|
|
2151
|
+
NotificationChannel["WEBHOOK"] = "WEBHOOK";
|
|
2152
|
+
})(exports.NotificationChannel || (exports.NotificationChannel = {}));
|
|
2153
|
+
exports.NotificationScope = void 0;
|
|
2154
|
+
(function (NotificationScope) {
|
|
2155
|
+
NotificationScope["ALL"] = "ALL";
|
|
2156
|
+
NotificationScope["TEST_RUN"] = "TEST_RUN";
|
|
2157
|
+
NotificationScope["TEST_RUN_FAILURE"] = "TEST_RUN_FAILURE";
|
|
2158
|
+
NotificationScope["TEST_RUN_SUCCEEDED"] = "TEST_RUN_SUCCEEDED";
|
|
2159
|
+
NotificationScope["MAINTENANCE"] = "MAINTENANCE";
|
|
2160
|
+
NotificationScope["MAINTENANCE_RELEASE"] = "MAINTENANCE_RELEASE";
|
|
2161
|
+
NotificationScope["CUSTOM"] = "CUSTOM";
|
|
2162
|
+
NotificationScope["NEWS"] = "NEWS";
|
|
2163
|
+
NotificationScope["SYSTEM"] = "SYSTEM";
|
|
2164
|
+
NotificationScope["CHECK"] = "CHECK";
|
|
2165
|
+
NotificationScope["PLAN_LIMIT_REACHED"] = "PLAN_LIMIT_REACHED";
|
|
2166
|
+
NotificationScope["PLAN_INVOICE"] = "PLAN_INVOICE";
|
|
2167
|
+
})(exports.NotificationScope || (exports.NotificationScope = {}));
|
|
2168
|
+
|
|
2169
|
+
exports.ArchivingStrategy = void 0;
|
|
2170
|
+
(function (ArchivingStrategy) {
|
|
2171
|
+
ArchivingStrategy["NEVER"] = "NEVER";
|
|
2172
|
+
ArchivingStrategy["DAYS"] = "DAYS";
|
|
2173
|
+
ArchivingStrategy["RUNS"] = "RUNS";
|
|
2174
|
+
})(exports.ArchivingStrategy || (exports.ArchivingStrategy = {}));
|
|
2175
|
+
|
|
2176
|
+
exports.ScreenshotType = void 0;
|
|
2177
|
+
(function (ScreenshotType) {
|
|
2178
|
+
ScreenshotType["LANDSCAPE"] = "LANDSCAPE";
|
|
2179
|
+
ScreenshotType["PORTRAIT"] = "PORTRAIT";
|
|
2180
|
+
})(exports.ScreenshotType || (exports.ScreenshotType = {}));
|
|
2181
|
+
|
|
2182
|
+
exports.ServiceUnit = void 0;
|
|
2183
|
+
(function (ServiceUnit) {
|
|
2184
|
+
ServiceUnit["DAY"] = "DAY";
|
|
2185
|
+
ServiceUnit["HOUR"] = "HOUR";
|
|
2186
|
+
ServiceUnit["MONTH"] = "MONTH";
|
|
2187
|
+
ServiceUnit["PROJECT"] = "PROJECT";
|
|
2188
|
+
ServiceUnit["RUN"] = "RUN";
|
|
2189
|
+
ServiceUnit["YEAR"] = "YEAR";
|
|
2190
|
+
})(exports.ServiceUnit || (exports.ServiceUnit = {}));
|
|
2191
|
+
|
|
2192
|
+
exports.SharedResourceType = void 0;
|
|
2193
|
+
(function (SharedResourceType) {
|
|
2194
|
+
SharedResourceType["DEVICE_GROUP"] = "DEVICE_GROUP";
|
|
2195
|
+
SharedResourceType["FILE"] = "FILE";
|
|
2196
|
+
SharedResourceType["PROJECT"] = "PROJECT";
|
|
2197
|
+
})(exports.SharedResourceType || (exports.SharedResourceType = {}));
|
|
2198
|
+
|
|
2199
|
+
exports.TestResult = void 0;
|
|
2200
|
+
(function (TestResult) {
|
|
2201
|
+
TestResult["PASSED"] = "PASSED";
|
|
2202
|
+
TestResult["FAILED"] = "FAILED";
|
|
2203
|
+
TestResult["SKIPPED"] = "SKIPPED";
|
|
2204
|
+
TestResult["NOT_AVAILABLE"] = "NOT_AVAILABLE";
|
|
2205
|
+
})(exports.TestResult || (exports.TestResult = {}));
|
|
2206
|
+
exports.TestStepType = void 0;
|
|
2207
|
+
(function (TestStepType) {
|
|
2208
|
+
TestStepType["ASSERTION"] = "ASSERTION";
|
|
2209
|
+
TestStepType["CLICK"] = "CLICK";
|
|
2210
|
+
TestStepType["CONFIG"] = "CONFIG";
|
|
2211
|
+
TestStepType["DRAG"] = "DRAG";
|
|
2212
|
+
TestStepType["INPUT"] = "INPUT";
|
|
2213
|
+
TestStepType["NAVIGATION"] = "NAVIGATION";
|
|
2214
|
+
TestStepType["OTHER"] = "OTHER";
|
|
2215
|
+
TestStepType["SCROLL"] = "SCROLL";
|
|
2216
|
+
TestStepType["UTIL"] = "UTIL";
|
|
2217
|
+
TestStepType["WAIT"] = "WAIT";
|
|
2218
|
+
})(exports.TestStepType || (exports.TestStepType = {}));
|
|
2219
|
+
|
|
2220
|
+
exports.LimitationType = void 0;
|
|
2221
|
+
(function (LimitationType) {
|
|
2222
|
+
LimitationType["PACKAGE"] = "PACKAGE";
|
|
2223
|
+
LimitationType["CLASS"] = "CLASS";
|
|
2224
|
+
})(exports.LimitationType || (exports.LimitationType = {}));
|
|
2225
|
+
exports.TestScheduler = void 0;
|
|
2226
|
+
(function (TestScheduler) {
|
|
2227
|
+
TestScheduler["PARALLEL"] = "PARALLEL";
|
|
2228
|
+
TestScheduler["SERIAL"] = "SERIAL";
|
|
2229
|
+
TestScheduler["SINGLE"] = "SINGLE";
|
|
2230
|
+
TestScheduler["ALL_INSTANCES"] = "ALL_INSTANCES";
|
|
2231
|
+
})(exports.TestScheduler || (exports.TestScheduler = {}));
|
|
2232
|
+
exports.TestState = void 0;
|
|
2233
|
+
(function (TestState) {
|
|
2234
|
+
TestState["WAITING"] = "WAITING";
|
|
2235
|
+
TestState["RUNNING"] = "RUNNING";
|
|
2236
|
+
TestState["FINISHED"] = "FINISHED";
|
|
2237
|
+
})(exports.TestState || (exports.TestState = {}));
|
|
2238
|
+
|
|
2239
|
+
exports.MfaStatus = void 0;
|
|
2240
|
+
(function (MfaStatus) {
|
|
2241
|
+
MfaStatus["VERIFICATION_NEED"] = "VERIFICATION_NEED";
|
|
2242
|
+
MfaStatus["DISABLED"] = "DISABLED";
|
|
2243
|
+
MfaStatus["ENABLED"] = "ENABLED";
|
|
2244
|
+
})(exports.MfaStatus || (exports.MfaStatus = {}));
|
|
2245
|
+
exports.UserStatus = void 0;
|
|
2246
|
+
(function (UserStatus) {
|
|
2247
|
+
UserStatus["INACTIVE"] = "INACTIVE";
|
|
2248
|
+
UserStatus["DISABLED"] = "DISABLED";
|
|
2249
|
+
UserStatus["ENABLED"] = "ENABLED";
|
|
2250
|
+
})(exports.UserStatus || (exports.UserStatus = {}));
|
|
2251
|
+
|
|
2252
|
+
exports.FileDirection = void 0;
|
|
2253
|
+
(function (FileDirection) {
|
|
2254
|
+
FileDirection["INPUT"] = "INPUT";
|
|
2255
|
+
FileDirection["OUTPUT"] = "OUTPUT";
|
|
2256
|
+
})(exports.FileDirection || (exports.FileDirection = {}));
|
|
2257
|
+
exports.FileInputType = void 0;
|
|
2258
|
+
(function (FileInputType) {
|
|
2259
|
+
FileInputType["APPLICATION"] = "APPLICATION";
|
|
2260
|
+
FileInputType["TEST"] = "TEST";
|
|
2261
|
+
FileInputType["DATA"] = "DATA";
|
|
2262
|
+
})(exports.FileInputType || (exports.FileInputType = {}));
|
|
2263
|
+
exports.FileState = void 0;
|
|
2264
|
+
(function (FileState) {
|
|
2265
|
+
FileState["PREPARING"] = "PREPARING";
|
|
2266
|
+
FileState["READY"] = "READY";
|
|
2267
|
+
})(exports.FileState || (exports.FileState = {}));
|
|
2268
|
+
|
|
2269
|
+
exports.ALLOWED_HTTP_METHODS = ALLOWED_HTTP_METHODS;
|
|
2270
|
+
exports.API = API;
|
|
2271
|
+
exports.CloudAPIClient = CloudAPIClient;
|
|
2272
|
+
exports.FilterBuilder = FilterBuilder;
|
|
2273
|
+
exports.IMAGE_FILES_FILTER = IMAGE_FILES_FILTER;
|
|
2274
|
+
exports.NON_MEDIA_FILES_FILTER = NON_MEDIA_FILES_FILTER;
|
|
2275
|
+
exports["default"] = CloudAPIClient;
|
|
2276
|
+
|
|
2277
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1919
2278
|
|
|
1920
2279
|
}));
|
|
1921
2280
|
//# sourceMappingURL=bitbar-cloud-api-client.js.map
|