@bitbar/cloud-api-client 1.3.8 → 1.4.1
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/.nvmrc +1 -0
- package/README.md +2 -2
- package/dist/ApiConfig.d.ts +1 -1
- package/dist/api/APIListFiles.d.ts +1 -1
- package/dist/api/admin.d.ts +22 -22
- package/dist/api/index.d.ts +1 -1
- package/dist/api/lists.d.ts +10 -10
- package/dist/api/models/AccessGroup.d.ts +3 -3
- package/dist/api/models/Account.d.ts +3 -3
- package/dist/api/models/AccountConcurrencyStatusMap.d.ts +2 -2
- package/dist/api/models/AccountPreference.d.ts +2 -2
- package/dist/api/models/AccountService.d.ts +3 -3
- package/dist/api/models/AccountServicePayment.d.ts +1 -1
- package/dist/api/models/Activity.d.ts +1 -1
- package/dist/api/models/AdminDevice.d.ts +3 -3
- package/dist/api/models/AdminDeviceSession.d.ts +2 -2
- package/dist/api/models/AdminDeviceSessionStatistics.d.ts +1 -1
- package/dist/api/models/AdminDeviceType.d.ts +2 -2
- package/dist/api/models/AdminEmail.d.ts +1 -1
- package/dist/api/models/AdminError.d.ts +1 -1
- package/dist/api/models/AdminFrameworkStatistics.d.ts +1 -1
- package/dist/api/models/AdminOverview.d.ts +1 -1
- package/dist/api/models/AdminTestRun.d.ts +1 -1
- package/dist/api/models/Administrator.d.ts +1 -1
- package/dist/api/models/BillingPeriod.d.ts +2 -2
- package/dist/api/models/Broker.d.ts +1 -1
- package/dist/api/models/Browser.d.ts +3 -3
- package/dist/api/models/CleanupConfiguration.d.ts +1 -1
- package/dist/api/models/Cluster.d.ts +2 -2
- package/dist/api/models/Connection.d.ts +2 -2
- package/dist/api/models/CountryVatRate.d.ts +2 -2
- package/dist/api/models/DesktopBrowserCapabilities.d.ts +3 -3
- package/dist/api/models/Device.d.ts +6 -6
- package/dist/api/models/DeviceFilter.d.ts +3 -3
- package/dist/api/models/DeviceGroup.d.ts +2 -2
- package/dist/api/models/DeviceModel.d.ts +2 -2
- package/dist/api/models/DeviceModelCriterion.d.ts +2 -2
- package/dist/api/models/DeviceModelPool.d.ts +2 -2
- package/dist/api/models/DeviceProblem.d.ts +2 -2
- package/dist/api/models/DeviceSession.d.ts +8 -8
- package/dist/api/models/DeviceSessionDataAvailability.d.ts +1 -1
- package/dist/api/models/DeviceStatistics.d.ts +1 -1
- package/dist/api/models/DeviceStatus.d.ts +1 -1
- package/dist/api/models/DeviceTimeCountSessionReportEntry.d.ts +1 -1
- package/dist/api/models/DeviceTimeStepTimeReportEntry.d.ts +1 -1
- package/dist/api/models/DeviceUsage.d.ts +1 -1
- package/dist/api/models/Enum.d.ts +1 -1
- package/dist/api/models/Framework.d.ts +4 -4
- package/dist/api/models/HTTP.d.ts +7 -7
- package/dist/api/models/LabelGroup.d.ts +2 -2
- package/dist/api/models/License.d.ts +14 -14
- package/dist/api/models/Maintenance.d.ts +2 -2
- package/dist/api/models/Message.d.ts +1 -1
- package/dist/api/models/Notification.d.ts +2 -2
- package/dist/api/models/NotificationPlan.d.ts +3 -3
- package/dist/api/models/Project.d.ts +2 -2
- package/dist/api/models/ProjectJobConfig.d.ts +1 -1
- package/dist/api/models/Property.d.ts +2 -2
- package/dist/api/models/Role.d.ts +2 -2
- package/dist/api/models/Screenshot.d.ts +2 -2
- package/dist/api/models/Service.d.ts +2 -2
- package/dist/api/models/Settings.d.ts +4 -4
- package/dist/api/models/SharedResource.d.ts +1 -1
- package/dist/api/models/SmartbearTunnel.d.ts +1 -1
- package/dist/api/models/Tag.d.ts +2 -2
- package/dist/api/models/TestCaseRun.d.ts +2 -2
- package/dist/api/models/TestRun.d.ts +2 -2
- package/dist/api/models/TestRunDataAvailability.d.ts +1 -1
- package/dist/api/models/User.d.ts +6 -6
- package/dist/api/models/UserDeviceTime.d.ts +2 -2
- package/dist/api/models/UserDeviceTimeSummary.d.ts +1 -1
- package/dist/api/models/UserFile.d.ts +7 -7
- package/dist/api/models/UserPreference.d.ts +2 -2
- package/dist/api/models/UserStatistics.d.ts +1 -1
- package/dist/api/models/VisualTest.d.ts +2 -2
- package/dist/api/resources.d.ts +21 -21
- package/dist/bitbar-cloud-api-client.js +23 -20
- 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/eslint.config.mjs +50 -0
- package/package.json +34 -29
- package/typedoc.json +32 -0
- package/lockfile-exists.js +0 -9
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
22.13.0
|
package/README.md
CHANGED
|
@@ -90,10 +90,10 @@ Now that you know how to build a chaining call you probably will want to e.g. se
|
|
|
90
90
|
All classes are documented so it should be easy to read docs from code.
|
|
91
91
|
|
|
92
92
|
If resource chain ends on method that is _singular_ (so in Swagger it returns single object) then it's descendant of
|
|
93
|
-
[APIResource](src/APIResource.
|
|
93
|
+
[APIResource](src/APIResource.ts). It means that you can use all methods that are there.
|
|
94
94
|
|
|
95
95
|
If resource chain ends on method that is _plural_ (so in Swagger it returns list) then it's descendant of
|
|
96
|
-
[APIList](src/APIList.
|
|
96
|
+
[APIList](src/APIList.ts). It means that you can use all methods that are there.
|
|
97
97
|
|
|
98
98
|
Both `APIResource` and `APIList` are children of `APIEntity`.
|
|
99
99
|
|
package/dist/ApiConfig.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { APIEntity } from './APIEntity';
|
|
|
3
3
|
import { APIList } from './APIList';
|
|
4
4
|
import { FilesQueryParams } from './class/FilesQueryParams';
|
|
5
5
|
import { FileData, UploadObj, UserFile } from './models/UserFile';
|
|
6
|
-
export declare class APIListFiles extends APIList<UserFile, FilesQueryParams, FileData> {
|
|
6
|
+
export declare class APIListFiles extends APIList<UserFile, FilesQueryParams, FileData | FormData> {
|
|
7
7
|
constructor(parent: APIEntity | API);
|
|
8
8
|
upload(obj: UploadObj): this;
|
|
9
9
|
private nodeUpload;
|
package/dist/api/admin.d.ts
CHANGED
|
@@ -20,25 +20,25 @@ import { APIAdminResourceRunStandalone as OriginAPIAdminResourceRunStandalone }
|
|
|
20
20
|
import { APIAdminResourceService as OriginAPIAdminResourceService } from './APIAdminResourceService';
|
|
21
21
|
import { APIAdminResourceUser as OriginAPIAdminResourceUser } from './APIAdminResourceUser';
|
|
22
22
|
import { APIAdminResourceUserAccount as OriginAPIAdminResourceUserAccount } from './APIAdminResourceUserAccount';
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
23
|
+
export type APIAdminListDevices = InstanceType<typeof OriginAPIAdminListDevices>;
|
|
24
|
+
export type APIAdminListNotificationPlans = InstanceType<typeof OriginAPIAdminListNotificationPlans>;
|
|
25
|
+
export type APIAdminListRuns = InstanceType<typeof OriginAPIAdminListRuns>;
|
|
26
|
+
export type APIAdminListServices = InstanceType<typeof OriginAPIAdminListServices>;
|
|
27
|
+
export type APIAdminListStatistics = InstanceType<typeof OriginAPIAdminListStatistics>;
|
|
28
|
+
export type APIAdminResource = InstanceType<typeof OriginAPIAdminResource>;
|
|
29
|
+
export type APIAdminResourceAccount = InstanceType<typeof OriginAPIAdminResourceAccount>;
|
|
30
|
+
export type APIAdminResourceAccountService = InstanceType<typeof OriginAPIAdminResourceAccountService>;
|
|
31
|
+
export type APIAdminResourceCluster = InstanceType<typeof OriginAPIAdminResourceCluster>;
|
|
32
|
+
export type APIAdminResourceDevice = InstanceType<typeof OriginAPIAdminResourceDevice>;
|
|
33
|
+
export type APIAdminResourceDeviceModel = InstanceType<typeof OriginAPIAdminResourceDeviceModel>;
|
|
34
|
+
export type APIAdminResourceDeviceSession = InstanceType<typeof OriginAPIAdminResourceDeviceSession>;
|
|
35
|
+
export type APIAdminResourceDeviceSessionStandalone = InstanceType<typeof OriginAPIAdminResourceDeviceSessionStandalone>;
|
|
36
|
+
export type APIAdminResourceDeviceTime = InstanceType<typeof OriginAPIAdminResourceDeviceTime>;
|
|
37
|
+
export type APIAdminResourceFramework = InstanceType<typeof OriginAPIAdminResourceFramework>;
|
|
38
|
+
export type APIAdminResourceLicense = InstanceType<typeof OriginAPIAdminResourceLicense>;
|
|
39
|
+
export type APIAdminResourceNotificationPlan = InstanceType<typeof OriginAPIAdminResourceNotificationPlan>;
|
|
40
|
+
export type APIAdminResourceRun = InstanceType<typeof OriginAPIAdminResourceRun>;
|
|
41
|
+
export type APIAdminResourceRunStandalone = InstanceType<typeof OriginAPIAdminResourceRunStandalone>;
|
|
42
|
+
export type APIAdminResourceService = InstanceType<typeof OriginAPIAdminResourceService>;
|
|
43
|
+
export type APIAdminResourceUser = InstanceType<typeof OriginAPIAdminResourceUser>;
|
|
44
|
+
export type APIAdminResourceUserAccount = InstanceType<typeof OriginAPIAdminResourceUserAccount>;
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIEntity as OriginAPIEntity } from './APIEntity';
|
|
2
|
-
export
|
|
2
|
+
export type APIEntity = InstanceType<typeof OriginAPIEntity>;
|
|
3
3
|
export * from './class';
|
|
4
4
|
export * from './admin';
|
|
5
5
|
export * from './lists';
|
package/dist/api/lists.d.ts
CHANGED
|
@@ -8,13 +8,13 @@ import { APIListRuns as OriginAPIListRuns } from './APIListRuns';
|
|
|
8
8
|
import { APIListServices as OriginAPIListServices } from './APIListServices';
|
|
9
9
|
import { APIListSmartbearTunnels as OriginAPIListSmartbearTunnels } from './APIListSmartbearTunnels';
|
|
10
10
|
import { APIListUsers as OriginAPIListUsers } from './APIListUsers';
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
11
|
+
export type APIList = InstanceType<typeof OriginAPIList>;
|
|
12
|
+
export type APIListCleanupConfigurations = InstanceType<typeof OriginAPIListCleanupConfigurations>;
|
|
13
|
+
export type APIListDevices = InstanceType<typeof OriginAPIListDevices>;
|
|
14
|
+
export type APIListFiles = InstanceType<typeof OriginAPIListFiles>;
|
|
15
|
+
export type APIListNotifications = InstanceType<typeof OriginAPIListNotifications>;
|
|
16
|
+
export type APIListProperties = InstanceType<typeof OriginAPIListProperties>;
|
|
17
|
+
export type APIListRuns = InstanceType<typeof OriginAPIListRuns>;
|
|
18
|
+
export type APIListServices = InstanceType<typeof OriginAPIListServices>;
|
|
19
|
+
export type APIListSmartbearTunnels = InstanceType<typeof OriginAPIListSmartbearTunnels>;
|
|
20
|
+
export type APIListUsers = InstanceType<typeof OriginAPIListUsers>;
|
|
@@ -3,12 +3,12 @@ export declare enum AccessGroupScope {
|
|
|
3
3
|
ACCOUNT = "ACCOUNT",
|
|
4
4
|
GLOBAL = "GLOBAL"
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type AccessGroup = {
|
|
7
7
|
id: number;
|
|
8
8
|
name: string;
|
|
9
9
|
scope: AccessGroupScope;
|
|
10
10
|
userEmail: string;
|
|
11
11
|
userId: number;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
14
|
-
export
|
|
13
|
+
export type AccessGroupData = Pick<AccessGroup, 'name' | 'scope' | 'userId'>;
|
|
14
|
+
export type AccessGroupsData = Omit<AccessGroupData, 'userId'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Account = {
|
|
2
2
|
activeServiceName: string;
|
|
3
3
|
comment: string;
|
|
4
4
|
createTime: number;
|
|
@@ -9,7 +9,7 @@ export declare type Account = {
|
|
|
9
9
|
slmOrganizationId: string;
|
|
10
10
|
userName: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type Invoice = {
|
|
13
13
|
address: string;
|
|
14
14
|
city: string;
|
|
15
15
|
code: string;
|
|
@@ -17,7 +17,7 @@ export declare type Invoice = {
|
|
|
17
17
|
state: string;
|
|
18
18
|
update: boolean;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type AccountData = Partial<{
|
|
21
21
|
comment: string;
|
|
22
22
|
invoiceDetails: Invoice;
|
|
23
23
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type ConcurrencyDetails = {
|
|
2
2
|
accountConcurrency: number;
|
|
3
3
|
runningSessions: number;
|
|
4
4
|
sessions: number;
|
|
@@ -6,7 +6,7 @@ declare type ConcurrencyDetails = {
|
|
|
6
6
|
usedBy: Array<string>;
|
|
7
7
|
waitingSessions: number;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type AccountConcurrencyStatusMap = {
|
|
10
10
|
id: number;
|
|
11
11
|
AUTOMATIC: ConcurrencyDetails;
|
|
12
12
|
MANUAL: ConcurrencyDetails;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type AccountPreferences = {
|
|
2
2
|
allowedFileExtensions: Array<string>;
|
|
3
3
|
id: number;
|
|
4
4
|
defaultTestTimeout: number;
|
|
5
5
|
testTimeout: number;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type AccountPreferencesData = Partial<Omit<AccountPreferences, 'id'>>;
|
|
@@ -25,13 +25,13 @@ export declare enum DeactivateReason {
|
|
|
25
25
|
SUSPENDED = "SUSPENDED",
|
|
26
26
|
ANOTHER_PURCHASE = "ANOTHER_PURCHASE"
|
|
27
27
|
}
|
|
28
|
-
export
|
|
28
|
+
export type ServicePaymentStatus = {
|
|
29
29
|
accountService: AccountService;
|
|
30
30
|
message: string;
|
|
31
31
|
redirectUrl: string;
|
|
32
32
|
status: PaymentStatus;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type AccountService = {
|
|
35
35
|
accountId: number;
|
|
36
36
|
accountName: string;
|
|
37
37
|
activatedById: number;
|
|
@@ -61,6 +61,6 @@ export declare type AccountService = {
|
|
|
61
61
|
userId: number;
|
|
62
62
|
vatRate: number;
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export type AccountServiceData = Pick<AccountService, 'endTime' | 'serviceId' | 'slmLicenseId'> & {
|
|
65
65
|
count: number;
|
|
66
66
|
};
|
|
@@ -17,7 +17,7 @@ export declare enum DeviceState {
|
|
|
17
17
|
ONLINE_FREE = "ONLINE_FREE",
|
|
18
18
|
ONLINE_TESTING = "ONLINE_TESTING"
|
|
19
19
|
}
|
|
20
|
-
export
|
|
20
|
+
export type AdminDevice = {
|
|
21
21
|
accountId: number;
|
|
22
22
|
accountName: string;
|
|
23
23
|
cluster: unknown;
|
|
@@ -47,8 +47,8 @@ export declare type AdminDevice = {
|
|
|
47
47
|
testTimeLimit: number;
|
|
48
48
|
unlockGesture: string;
|
|
49
49
|
};
|
|
50
|
-
export
|
|
51
|
-
export
|
|
50
|
+
export type AdminDevicesQueryParams = Pick<DevicesQueryParams, 'withDisabled'> & CollectionQueryParams;
|
|
51
|
+
export type AdminDeviceData = Pick<AdminDevice, 'accountId' | 'enabled' | 'initStep' | 'ipAddress' | 'name' | 'serialId' | 'testTimeLimit' | 'unlockGesture'> & {
|
|
52
52
|
apiLevel: number;
|
|
53
53
|
releaseVersion: string;
|
|
54
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeviceSessionState, DeviceSessionStepType } from './DeviceSession';
|
|
2
|
-
export
|
|
2
|
+
export type AdminDeviceSession = {
|
|
3
3
|
billable: boolean;
|
|
4
4
|
createTime: number;
|
|
5
5
|
currentStepType: DeviceSessionStepType;
|
|
@@ -17,7 +17,7 @@ export declare type AdminDeviceSession = {
|
|
|
17
17
|
testRunId: number;
|
|
18
18
|
testRunName: string;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type AdminInteractiveDeviceSession = {
|
|
21
21
|
billable: boolean;
|
|
22
22
|
createTime: number;
|
|
23
23
|
deviceId: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type AdminDeviceType = {
|
|
2
2
|
frameExtraWidth: number;
|
|
3
3
|
id: number;
|
|
4
4
|
imageHeight: number;
|
|
@@ -7,6 +7,6 @@ export declare type AdminDeviceType = {
|
|
|
7
7
|
imageTop: number;
|
|
8
8
|
imageWidth: number;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type DeviceTypeData = Omit<AdminDeviceType, 'id'> & {
|
|
11
11
|
deviceTypeId: number;
|
|
12
12
|
};
|
|
@@ -32,7 +32,7 @@ export declare enum AdminErrorType {
|
|
|
32
32
|
XCRUN_INSTRUMENTS_COMMAND_FAILED = "XCRUN_INSTRUMENTS_COMMAND_FAILED",
|
|
33
33
|
XCRUN_INSTRUMENTS_JS_ERROR = "XCRUN_INSTRUMENTS_JS_ERROR"
|
|
34
34
|
}
|
|
35
|
-
export
|
|
35
|
+
export type AdminError = {
|
|
36
36
|
id: number;
|
|
37
37
|
quantity: number;
|
|
38
38
|
type: AdminErrorType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { User } from './User';
|
|
2
|
-
export
|
|
2
|
+
export type Administrator = Pick<User, 'createTime' | 'deleteTime' | 'email' | 'id' | 'status'> & {
|
|
3
3
|
isAdmin: boolean;
|
|
4
4
|
isAdminReadOnly: boolean;
|
|
5
5
|
isUserAdmin: boolean;
|
|
@@ -7,7 +7,7 @@ export declare enum BillingType {
|
|
|
7
7
|
CHARGE = "CHARGE",
|
|
8
8
|
CANCEL = "CANCEL"
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type BillingPeriod = {
|
|
11
11
|
accountServiceId: number;
|
|
12
12
|
additionalHours: number;
|
|
13
13
|
additionalHoursPrice: number;
|
|
@@ -26,7 +26,7 @@ export declare type BillingPeriod = {
|
|
|
26
26
|
totalPrice: number;
|
|
27
27
|
usages: Array<BillingPeriodUsage>;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type BillingPeriodUsage = {
|
|
30
30
|
billableSeconds: number;
|
|
31
31
|
id: number;
|
|
32
32
|
nonBillableSeconds: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OsType } from './Enum';
|
|
2
|
-
export
|
|
2
|
+
export type Browser = {
|
|
3
3
|
architecture: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
id: number;
|
|
@@ -9,7 +9,7 @@ export declare type Browser = {
|
|
|
9
9
|
osType: OsType;
|
|
10
10
|
version: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type BrowserData = Omit<Browser, 'id' | 'install'>;
|
|
13
|
+
export type DeviceBrowserData = {
|
|
14
14
|
browserIds: Array<number>;
|
|
15
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeviceCleanupConfiguration } from './Device';
|
|
2
|
-
export
|
|
2
|
+
export type CleanupConfigurationData = Pick<DeviceCleanupConfiguration, 'content' | 'discriminator' | 'enabled' | 'osType'>;
|
|
3
3
|
export interface SpecificCleanupConfigurationQueryParams {
|
|
4
4
|
serialId: string;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdminDevice } from './AdminDevice';
|
|
2
2
|
import { CollectionResponse, QueryParams } from './HTTP';
|
|
3
|
-
export
|
|
3
|
+
export type Cluster = {
|
|
4
4
|
devices: CollectionResponse<AdminDevice>;
|
|
5
5
|
enabled: boolean;
|
|
6
6
|
id: number;
|
|
@@ -25,7 +25,7 @@ export declare enum ClusterState {
|
|
|
25
25
|
export interface ClusterParams extends QueryParams {
|
|
26
26
|
withDevices: boolean;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
28
|
+
export type ClusterData = Pick<Cluster, 'enabled' | 'url'> & {
|
|
29
29
|
quietDown: boolean;
|
|
30
30
|
restart: boolean;
|
|
31
31
|
turnMaintenance: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Connection = {
|
|
2
2
|
createTime: number;
|
|
3
3
|
deviceSessionId: number;
|
|
4
4
|
endTime: number;
|
|
@@ -12,4 +12,4 @@ export declare type Connection = {
|
|
|
12
12
|
url: string;
|
|
13
13
|
urlSchema: string;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type ConnectionData = Pick<Connection, 'host' | 'port' | 'type' | 'password'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CountryVatRate = {
|
|
2
2
|
country: string;
|
|
3
3
|
countryCode: string;
|
|
4
4
|
id: number;
|
|
5
5
|
vatRate: number;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type CountryVatRateData = Pick<CountryVatRate, 'countryCode' | 'vatRate'>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Platform } from './Device';
|
|
2
|
-
export
|
|
2
|
+
export type DesktopBrowserCapabilities = {
|
|
3
3
|
id: number;
|
|
4
4
|
platforms: Array<any>;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type DesktopPlatform = {
|
|
7
7
|
browsers: Array<DesktopBrowser>;
|
|
8
8
|
id: number;
|
|
9
9
|
name: string;
|
|
@@ -11,7 +11,7 @@ export declare type DesktopPlatform = {
|
|
|
11
11
|
value: Platform;
|
|
12
12
|
version: string;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type DesktopBrowser = {
|
|
15
15
|
displayName: string;
|
|
16
16
|
id: number;
|
|
17
17
|
name: string;
|
|
@@ -20,7 +20,7 @@ export declare enum SupportedCreators {
|
|
|
20
20
|
ROBOT = "ROBOT",
|
|
21
21
|
AUTOMATIC = "AUTOMATIC"
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export type DeviceProperty = {
|
|
24
24
|
displayName: string;
|
|
25
25
|
id: number;
|
|
26
26
|
labelGroupName: string;
|
|
@@ -28,7 +28,7 @@ export declare type DeviceProperty = {
|
|
|
28
28
|
propertyGroupId: number;
|
|
29
29
|
propertyGroupName: string;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type SoftwareVersion = {
|
|
32
32
|
apiLevel: number;
|
|
33
33
|
id: number;
|
|
34
34
|
releaseVersion: string;
|
|
@@ -38,7 +38,7 @@ export declare enum LockReason {
|
|
|
38
38
|
CLEANING = "CLEANING",
|
|
39
39
|
NOT_OPERATIONAL = "NOT_OPERATIONAL"
|
|
40
40
|
}
|
|
41
|
-
export
|
|
41
|
+
export type Device = {
|
|
42
42
|
accountId: number;
|
|
43
43
|
accountName: string;
|
|
44
44
|
available: boolean;
|
|
@@ -68,7 +68,7 @@ export declare type Device = {
|
|
|
68
68
|
softwareVersion: SoftwareVersion;
|
|
69
69
|
supportedCreators: Array<SupportedCreators>;
|
|
70
70
|
};
|
|
71
|
-
export
|
|
71
|
+
export type DeviceCleanupConfiguration = {
|
|
72
72
|
content: string;
|
|
73
73
|
createTime: number;
|
|
74
74
|
createdByEmail: string;
|
|
@@ -81,10 +81,10 @@ export declare type DeviceCleanupConfiguration = {
|
|
|
81
81
|
lastModificationTime: number;
|
|
82
82
|
osType: OsType;
|
|
83
83
|
};
|
|
84
|
-
export
|
|
84
|
+
export type DeviceCleanupConfigurationData = {
|
|
85
85
|
deviceCleanupConfigurationId: number;
|
|
86
86
|
};
|
|
87
|
-
export
|
|
87
|
+
export type DeviceLabelData = {
|
|
88
88
|
labelId: number;
|
|
89
89
|
};
|
|
90
90
|
export interface DeviceProperiesData extends QueryParams {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OsType } from './Enum';
|
|
2
|
-
export
|
|
2
|
+
export type DevicePicker = {
|
|
3
3
|
deviceFilterGroups: Array<DeviceFilterGroup>;
|
|
4
4
|
id: number;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type DeviceFilter = {
|
|
7
7
|
displayName: string;
|
|
8
8
|
hidden: boolean;
|
|
9
9
|
id: number;
|
|
10
10
|
name: string;
|
|
11
11
|
osType: OsType;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type DeviceFilterGroup = {
|
|
14
14
|
deviceFilters: Array<DeviceFilter>;
|
|
15
15
|
id: number;
|
|
16
16
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OsType } from './Enum';
|
|
2
2
|
import { CollectionBasicQueryParams, QueryParams } from './HTTP';
|
|
3
|
-
export
|
|
3
|
+
export type DeviceGroup = {
|
|
4
4
|
deviceCount: number;
|
|
5
5
|
displayName: string;
|
|
6
6
|
id: number;
|
|
@@ -23,7 +23,7 @@ export interface DeviceGroupParams extends CollectionBasicQueryParams {
|
|
|
23
23
|
export interface DeviceGroupWithPublicParams extends CollectionBasicQueryParams {
|
|
24
24
|
withPublic: boolean;
|
|
25
25
|
}
|
|
26
|
-
export
|
|
26
|
+
export type DeviceGroupData = Pick<DeviceGroup, 'displayName' | 'name' | 'osType'> | {
|
|
27
27
|
deviceIds?: Array<number>;
|
|
28
28
|
selectorIds?: Array<number>;
|
|
29
29
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Platform } from './Device';
|
|
2
2
|
import { OsType } from './Enum';
|
|
3
|
-
export
|
|
3
|
+
export type DeviceModel = {
|
|
4
4
|
avgWaitingTime: number;
|
|
5
5
|
dedicated: boolean;
|
|
6
6
|
enabled: boolean;
|
|
@@ -16,7 +16,7 @@ export declare type DeviceModel = {
|
|
|
16
16
|
total: number;
|
|
17
17
|
freeTrial: boolean;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DeviceModelData = Pick<DeviceModel, 'enabled' | 'name' | 'releaseVersion'> & {
|
|
20
20
|
apiLevel: number;
|
|
21
21
|
creditsPrice: number;
|
|
22
22
|
manufacturer: string;
|
|
@@ -8,7 +8,7 @@ export declare enum CriterionField {
|
|
|
8
8
|
ACCOUNT = "ACCOUNT",
|
|
9
9
|
BROWSERS = "BROWSERS"
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type DeviceModelCriterion = {
|
|
12
12
|
createTime: number;
|
|
13
13
|
field: CriterionField;
|
|
14
14
|
id: number;
|
|
@@ -16,4 +16,4 @@ export declare type DeviceModelCriterion = {
|
|
|
16
16
|
labelGroupId: number;
|
|
17
17
|
labelGroupName: string;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DeviceModelCriterionData = Pick<DeviceModelCriterion, 'field' | 'labelGroupId'>;
|
|
@@ -3,7 +3,7 @@ export declare enum RetentionStrategy {
|
|
|
3
3
|
MIN_FREE_MAX_TOTAL = "MIN_FREE_MAX_TOTAL",
|
|
4
4
|
POOL_MANAGER_AWARE = "POOL_MANAGER_AWARE"
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type DeviceModelPool = {
|
|
7
7
|
createTime: number;
|
|
8
8
|
enabled: boolean;
|
|
9
9
|
id: number;
|
|
@@ -16,4 +16,4 @@ export declare type DeviceModelPool = {
|
|
|
16
16
|
retentionStrategy: RetentionStrategy;
|
|
17
17
|
running: number;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DeviceModelPoolData = Pick<DeviceModelPool, 'maxTotal' | 'minAvailable'>;
|
|
@@ -6,7 +6,7 @@ export declare enum ProblemType {
|
|
|
6
6
|
HIGH_FAIL_RATE = "HIGH_FAIL_RATE",
|
|
7
7
|
NO_INTERNET_CONNECTION = "NO_INTERNET_CONNECTION"
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type DeviceProblem = {
|
|
10
10
|
clusterId: number;
|
|
11
11
|
clusterName: string;
|
|
12
12
|
deviceId: number;
|
|
@@ -16,7 +16,7 @@ export declare type DeviceProblem = {
|
|
|
16
16
|
id: number;
|
|
17
17
|
problems: Array<DeviceProblemPair>;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DeviceProblemPair = {
|
|
20
20
|
id: number;
|
|
21
21
|
type: ProblemType;
|
|
22
22
|
value: any;
|