@bitbar/cloud-api-client 1.4.18 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/APIAdminResource.d.ts +0 -9
- package/dist/api/APIResourceAccount.d.ts +2 -1
- package/dist/api/APIResourceRunCommon.d.ts +0 -6
- package/dist/api/admin.d.ts +0 -4
- package/dist/api/models/Account.d.ts +0 -1
- package/dist/api/models/AccountPreference.d.ts +1 -0
- package/dist/api/models/AccountService.d.ts +0 -8
- package/dist/api/models/Activity.d.ts +1 -0
- package/dist/api/models/AdminDeviceSession.d.ts +2 -3
- package/dist/api/models/AdminOverview.d.ts +10 -4
- package/dist/api/models/AdminTestRun.d.ts +0 -1
- package/dist/api/models/BillingPeriod.d.ts +2 -0
- package/dist/api/models/Cluster.d.ts +7 -0
- package/dist/api/models/Connection.d.ts +0 -1
- package/dist/api/models/Device.d.ts +17 -0
- package/dist/api/models/DeviceProblem.d.ts +1 -0
- package/dist/api/models/DeviceSession.d.ts +2 -6
- package/dist/api/models/Maintenance.d.ts +2 -6
- package/dist/api/models/Notification.d.ts +1 -7
- package/dist/api/models/Project.d.ts +2 -3
- package/dist/api/models/Screenshot.d.ts +0 -7
- package/dist/api/models/Service.d.ts +1 -5
- package/dist/api/models/TestCaseRun.d.ts +1 -0
- package/dist/api/models/TestRun.d.ts +10 -12
- package/dist/api/models/User.d.ts +1 -7
- package/dist/api/models/UserDeviceTimeSummary.d.ts +0 -1
- package/dist/bitbar-cloud-api-client.js +25 -124
- package/dist/bitbar-cloud-api-client.js.map +1 -1
- package/dist/bitbar-cloud-api-client.min.js +2 -2
- package/dist/bitbar-cloud-api-client.min.js.map +1 -1
- package/dist/models.d.ts +0 -3
- package/package.json +1 -1
- package/dist/api/APIAdminListNotificationPlans.d.ts +0 -11
- package/dist/api/APIAdminResourceNotificationPlan.d.ts +0 -13
- package/dist/api/models/AdminError.d.ts +0 -39
- package/dist/api/models/CountryVatRate.d.ts +0 -7
- package/dist/api/models/NotificationPlan.d.ts +0 -20
package/dist/models.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export * from './api/models/AdminDevice';
|
|
|
9
9
|
export * from './api/models/AdminDeviceSession';
|
|
10
10
|
export * from './api/models/AdminDeviceType';
|
|
11
11
|
export * from './api/models/AdminEmail';
|
|
12
|
-
export * from './api/models/AdminError';
|
|
13
12
|
export * from './api/models/AdminFrameworkStatistics';
|
|
14
13
|
export * from './api/models/Administrator';
|
|
15
14
|
export * from './api/models/AdminOverview';
|
|
@@ -20,7 +19,6 @@ export * from './api/models/Browser';
|
|
|
20
19
|
export * from './api/models/CleanupConfiguration';
|
|
21
20
|
export * from './api/models/Cluster';
|
|
22
21
|
export * from './api/models/Connection';
|
|
23
|
-
export * from './api/models/CountryVatRate';
|
|
24
22
|
export * from './api/models/DesktopBrowserCapabilities';
|
|
25
23
|
export * from './api/models/Device';
|
|
26
24
|
export * from './api/models/DeviceFilter';
|
|
@@ -42,7 +40,6 @@ export * from './api/models/License';
|
|
|
42
40
|
export * from './api/models/Maintenance';
|
|
43
41
|
export * from './api/models/Message';
|
|
44
42
|
export * from './api/models/Notification';
|
|
45
|
-
export * from './api/models/NotificationPlan';
|
|
46
43
|
export * from './api/models/Project';
|
|
47
44
|
export * from './api/models/ProjectJobConfig';
|
|
48
45
|
export * from './api/models/Property';
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { APIAdminResource } from './APIAdminResource';
|
|
2
|
-
import { APIList } from './APIList';
|
|
3
|
-
import { Enum } from './models/Enum';
|
|
4
|
-
import { CollectionQueryParams, NoQueryParams } from './models/HTTP';
|
|
5
|
-
import { NotificationPlan, NotificationPlanData } from './models/NotificationPlan';
|
|
6
|
-
export declare class APIAdminListNotificationPlans extends APIList<NotificationPlan, CollectionQueryParams, NotificationPlanData> {
|
|
7
|
-
constructor(parent: APIAdminResource);
|
|
8
|
-
channels(): APIList<Enum, NoQueryParams, void>;
|
|
9
|
-
scopes(): APIList<Enum, NoQueryParams, void>;
|
|
10
|
-
}
|
|
11
|
-
export default APIAdminListNotificationPlans;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { APIAdminResource } from './APIAdminResource';
|
|
2
|
-
import { APIList } from './APIList';
|
|
3
|
-
import { APIResource } from './APIResource';
|
|
4
|
-
import { NoQueryParams } from './models/HTTP';
|
|
5
|
-
import { Notification } from './models/Notification';
|
|
6
|
-
import { NotificationPlan, NotificationPlanEditData } from './models/NotificationPlan';
|
|
7
|
-
export declare class APIAdminResourceNotificationPlan extends APIResource<NotificationPlan, NoQueryParams, NotificationPlanEditData> {
|
|
8
|
-
constructor(parent: APIAdminResource, id: number);
|
|
9
|
-
check(): APIList<Notification, import("./models/HTTP").CollectionQueryParams, any>;
|
|
10
|
-
test(): APIResource<NotificationPlan, NoQueryParams, void>;
|
|
11
|
-
execute(): APIResource<NotificationPlan, NoQueryParams, void>;
|
|
12
|
-
}
|
|
13
|
-
export default APIAdminResourceNotificationPlan;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare enum AdminErrorType {
|
|
2
|
-
ABORT_REQUEST = "ABORT_REQUEST",
|
|
3
|
-
ADB_COMMAND_REJECTED = "ADB_COMMAND_REJECTED",
|
|
4
|
-
ADB_SHELL_COMMAND_FAILED = "ADB_SHELL_COMMAND_FAILED",
|
|
5
|
-
APP_LOCK_NOT_INSTALLED = "APP_LOCK_NOT_INSTALLED",
|
|
6
|
-
DEVICE_OFFLINE = "DEVICE_OFFLINE",
|
|
7
|
-
DEVICE_OUTPUT_NULL = "DEVICE_OUTPUT_NULL",
|
|
8
|
-
GAMEBENCH_ERROR = "GAMEBENCH_ERROR",
|
|
9
|
-
GAMEBENCH_NOT_SUPPORTED = "GAMEBENCH_NOT_SUPPORTED",
|
|
10
|
-
GRANT_FAILED = "GRANT_FAILED",
|
|
11
|
-
INSTALL_FAILED = "INSTALL_FAILED",
|
|
12
|
-
INTERACTIVE_SETUP_FAILED = "INTERACTIVE_SETUP_FAILED",
|
|
13
|
-
INTERNAL_INSTALL_FAILED = "INTERNAL_INSTALL_FAILED",
|
|
14
|
-
INVALID_TEST_SESSION_FILE = "INVALID_TEST_SESSION_FILE",
|
|
15
|
-
LOCK_EXPIRED = "LOCK_EXPIRED",
|
|
16
|
-
LOCK_TIMEOUT = "LOCK_TIMEOUT",
|
|
17
|
-
NO_NETWORK_CONNECTION = "NO_NETWORK_CONNECTION",
|
|
18
|
-
OTHER = "OTHER",
|
|
19
|
-
REBOOTING_TIMEOUT = "REBOOTING_TIMEOUT",
|
|
20
|
-
REPACKAGING = "REPACKAGING",
|
|
21
|
-
RESULTS_PREPARING = "RESULTS_PREPARING",
|
|
22
|
-
RESULTS_PROCESSING = "RESULTS_PROCESSING",
|
|
23
|
-
RESULTS_SENDING = "RESULTS_SENDING",
|
|
24
|
-
STEP_TIMEOUT = "STEP_TIMEOUT",
|
|
25
|
-
SYSTEM_FAILURE = "SYSTEM_FAILURE",
|
|
26
|
-
TEST_RUN_FAILED = "TEST_RUN_FAILED",
|
|
27
|
-
TEST_RUN_INTERRUPTED = "TEST_RUN_INTERRUPTED",
|
|
28
|
-
TEST_RUN_TIMEOUT = "TEST_RUN_TIMEOUT",
|
|
29
|
-
TEST_RUN_WARNED = "TEST_RUN_WARNED",
|
|
30
|
-
TEST_TIMEOUT = "TEST_TIMEOUT",
|
|
31
|
-
VNC_CONNECTION_SETUP_FAILED = "VNC_CONNECTION_SETUP_FAILED",
|
|
32
|
-
XCRUN_INSTRUMENTS_COMMAND_FAILED = "XCRUN_INSTRUMENTS_COMMAND_FAILED",
|
|
33
|
-
XCRUN_INSTRUMENTS_JS_ERROR = "XCRUN_INSTRUMENTS_JS_ERROR"
|
|
34
|
-
}
|
|
35
|
-
export type AdminError = {
|
|
36
|
-
id: number;
|
|
37
|
-
quantity: number;
|
|
38
|
-
type: AdminErrorType;
|
|
39
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NotificationChannel, NotificationScope } from './Notification';
|
|
2
|
-
export type NotificationPlan = {
|
|
3
|
-
channel: NotificationChannel;
|
|
4
|
-
contentTemplate: string;
|
|
5
|
-
createTime: number;
|
|
6
|
-
handlerEmail: string;
|
|
7
|
-
handlerId: number;
|
|
8
|
-
id: number;
|
|
9
|
-
name: string;
|
|
10
|
-
scope: NotificationScope;
|
|
11
|
-
sentTime: number;
|
|
12
|
-
subjectTemplate: string;
|
|
13
|
-
updateTime: number;
|
|
14
|
-
};
|
|
15
|
-
export type NotificationPlanData = Pick<NotificationPlan, 'channel' | 'name'> & {
|
|
16
|
-
notificationContent: string;
|
|
17
|
-
notificationSubject: string;
|
|
18
|
-
scope: NotificationScope;
|
|
19
|
-
};
|
|
20
|
-
export type NotificationPlanEditData = Omit<NotificationPlanData, 'channel'>;
|