@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Device } from './Device';
|
|
2
2
|
import { CollectionBasicQueryParams } from './HTTP';
|
|
3
|
-
export
|
|
3
|
+
export type TunnelSettings = {
|
|
4
4
|
domain: string;
|
|
5
5
|
email: string;
|
|
6
6
|
};
|
|
@@ -35,7 +35,7 @@ export declare enum DeviceSessionStepType {
|
|
|
35
35
|
SENDING_RESULTS = "SENDING_RESULTS",
|
|
36
36
|
PROCESSING_RESULTS = "PROCESSING_RESULTS"
|
|
37
37
|
}
|
|
38
|
-
export
|
|
38
|
+
export type DeviceSessionConfig = {
|
|
39
39
|
adbVersion: string;
|
|
40
40
|
browserName: string;
|
|
41
41
|
browserVersion: string;
|
|
@@ -46,7 +46,7 @@ export declare type DeviceSessionConfig = {
|
|
|
46
46
|
type: DeviceSessionConfig;
|
|
47
47
|
url: string;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type DeviceSession = {
|
|
50
50
|
accountId: number;
|
|
51
51
|
autoRetriesLeftCount: number;
|
|
52
52
|
billable: boolean;
|
|
@@ -84,7 +84,7 @@ export declare type DeviceSession = {
|
|
|
84
84
|
userEmail: string;
|
|
85
85
|
userId: number;
|
|
86
86
|
};
|
|
87
|
-
export
|
|
87
|
+
export type DeviceSessionCommand = {
|
|
88
88
|
duration: number;
|
|
89
89
|
httpMethod: string;
|
|
90
90
|
id: number;
|
|
@@ -94,7 +94,7 @@ export declare type DeviceSessionCommand = {
|
|
|
94
94
|
timestamp: number;
|
|
95
95
|
uri: string;
|
|
96
96
|
};
|
|
97
|
-
export
|
|
97
|
+
export type DeviceSessionStep = {
|
|
98
98
|
deviceSessionId: number;
|
|
99
99
|
excludeReason: string;
|
|
100
100
|
failReason: string;
|
|
@@ -103,7 +103,7 @@ export declare type DeviceSessionStep = {
|
|
|
103
103
|
startTimeMS: number;
|
|
104
104
|
type: DeviceSessionStepType;
|
|
105
105
|
};
|
|
106
|
-
export
|
|
106
|
+
export type DeviceSessionConnection = {
|
|
107
107
|
createTime: number;
|
|
108
108
|
deviceSessionId: number;
|
|
109
109
|
endTime: number;
|
|
@@ -117,7 +117,7 @@ export declare type DeviceSessionConnection = {
|
|
|
117
117
|
url: string;
|
|
118
118
|
urlSchema: string;
|
|
119
119
|
};
|
|
120
|
-
export
|
|
120
|
+
export type DeviceSessionData = Omit<DeviceSessionConfig, 'adbVersion' | 'id' | 'tunnelSettings' | 'type'> & {
|
|
121
121
|
configuration: DeviceSessionConfig;
|
|
122
122
|
};
|
|
123
123
|
export interface DeviceSessionQueryParams extends CollectionBasicQueryParams {
|
|
@@ -143,6 +143,6 @@ export declare enum SessionReleaseReason {
|
|
|
143
143
|
CHANGE_DEVICE = "CHANGE_DEVICE",
|
|
144
144
|
WEBSOCKET_CLOSED = "WEBSOCKET_CLOSED"
|
|
145
145
|
}
|
|
146
|
-
export
|
|
146
|
+
export type DeviceSessionRelease = {
|
|
147
147
|
reason: SessionReleaseReason;
|
|
148
148
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OsType } from './Enum';
|
|
2
2
|
import { UserFile } from './UserFile';
|
|
3
|
-
export
|
|
3
|
+
export type Framework = {
|
|
4
4
|
accountId: number;
|
|
5
5
|
accountName: string;
|
|
6
6
|
canRunFromUI: boolean;
|
|
@@ -26,13 +26,13 @@ export declare type Framework = {
|
|
|
26
26
|
skipQueue: boolean;
|
|
27
27
|
type: string;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type FrameworkData = Omit<Framework, 'createTime' | 'id' | 'labelName' | 'accountName' | 'sampleApp' | 'sampleTest'> & {
|
|
30
30
|
addLabelToDevices: boolean;
|
|
31
31
|
roleIds: Array<number>;
|
|
32
32
|
sampleAppId: number;
|
|
33
33
|
sampleTestId: number;
|
|
34
34
|
};
|
|
35
|
-
export
|
|
36
|
-
export
|
|
35
|
+
export type FrameworkEditData = Omit<FrameworkData, 'accountId' | 'id' | 'secured'>;
|
|
36
|
+
export type FrameworkConfigData = {
|
|
37
37
|
content: string;
|
|
38
38
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Method } from 'axios';
|
|
2
2
|
export declare const ALLOWED_HTTP_METHODS: Array<Method>;
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type QueryParam = string | number | boolean;
|
|
4
|
+
export type QueryParams = Record<string, QueryParam | Array<QueryParam>>;
|
|
5
5
|
export declare enum APIOrder {
|
|
6
6
|
asc = "a",
|
|
7
7
|
desc = "d"
|
|
@@ -13,11 +13,11 @@ export interface CollectionQueryParams extends QueryParams {
|
|
|
13
13
|
sort: string;
|
|
14
14
|
search: string;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type CollectionBasicQueryParams = Omit<CollectionQueryParams, 'search'>;
|
|
17
|
+
export type NoQueryParams = {
|
|
18
18
|
[key in any]: never;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type CollectionResponse<T> = {
|
|
21
21
|
data: Array<T>;
|
|
22
22
|
empty: boolean;
|
|
23
23
|
id: number;
|
|
@@ -29,5 +29,5 @@ export declare type CollectionResponse<T> = {
|
|
|
29
29
|
sort: string;
|
|
30
30
|
total: number;
|
|
31
31
|
};
|
|
32
|
-
export
|
|
33
|
-
export
|
|
32
|
+
export type SimpleCollectionResponse<T> = Pick<CollectionResponse<T>, 'data' | 'id'>;
|
|
33
|
+
export type NoData = void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DeviceProperty } from './Device';
|
|
2
|
-
export
|
|
2
|
+
export type LabelGroup = {
|
|
3
3
|
displayName: string;
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type LabelData = Pick<DeviceProperty, 'displayName' | 'name'>;
|
|
@@ -4,38 +4,38 @@ export declare enum LicenseStatus {
|
|
|
4
4
|
INACTIVE = "INACTIVE",
|
|
5
5
|
CLOSED = "CLOSED"
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type BaseLicense = {
|
|
8
8
|
enabled: boolean;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type FeatureLicense = {
|
|
11
11
|
deviceLimit: number;
|
|
12
12
|
deviceLimited: boolean;
|
|
13
13
|
projectLimit: number;
|
|
14
14
|
projectLimited: boolean;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type AndroidLicense = BaseLicense & FeatureLicense & {
|
|
17
17
|
cts: CTSLicense;
|
|
18
18
|
uiAutomator: UIAutomatorLicense;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type BuildLicense = BaseLicense & {
|
|
21
21
|
limit: number;
|
|
22
22
|
limited: boolean;
|
|
23
23
|
};
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
24
|
+
export type DesktopLicense = BaseLicense & FeatureLicense;
|
|
25
|
+
export type GlobalLicense = FeatureLicense;
|
|
26
|
+
export type InspectorLicense = BaseLicense;
|
|
27
|
+
export type IOSLicense = BaseLicense & FeatureLicense;
|
|
28
|
+
export type RecorderLicense = BaseLicense & {
|
|
29
29
|
limit: number;
|
|
30
30
|
limited: boolean;
|
|
31
31
|
};
|
|
32
|
-
export
|
|
32
|
+
export type ServerLicense = BaseLicense & {
|
|
33
33
|
androidEnabled: boolean;
|
|
34
34
|
iosEnabled: boolean;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
36
|
+
export type CTSLicense = BaseLicense;
|
|
37
|
+
export type UIAutomatorLicense = BaseLicense;
|
|
38
|
+
export type License = {
|
|
39
39
|
activateTime: number;
|
|
40
40
|
android: AndroidLicense;
|
|
41
41
|
build: BuildLicense;
|
|
@@ -53,7 +53,7 @@ export declare type License = {
|
|
|
53
53
|
userEmail: string;
|
|
54
54
|
userId: number;
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type LicenseData = Pick<License, 'privateInstance' | 'userId'> & {
|
|
57
57
|
androidDeviceLimit: number;
|
|
58
58
|
androidEnabled: boolean;
|
|
59
59
|
androidProjectLimit: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Maintenance = {
|
|
2
2
|
enabled: boolean;
|
|
3
3
|
id: number;
|
|
4
4
|
};
|
|
@@ -7,7 +7,7 @@ export declare enum MaintenanceType {
|
|
|
7
7
|
EC2 = "EC2",
|
|
8
8
|
VM = "VM"
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type MaintenanceData = {
|
|
11
11
|
enabled: boolean;
|
|
12
12
|
type: MaintenanceType;
|
|
13
13
|
};
|
|
@@ -18,7 +18,7 @@ export declare enum NotificationScope {
|
|
|
18
18
|
PLAN_LIMIT_REACHED = "PLAN_LIMIT_REACHED",
|
|
19
19
|
PLAN_INVOICE = "PLAN_INVOICE"
|
|
20
20
|
}
|
|
21
|
-
export
|
|
21
|
+
export type Notification = {
|
|
22
22
|
channel: NotificationChannel;
|
|
23
23
|
destination: string;
|
|
24
24
|
id: number;
|
|
@@ -31,4 +31,4 @@ export declare type Notification = {
|
|
|
31
31
|
export interface NotificationData extends QueryParams {
|
|
32
32
|
scope: NotificationScope;
|
|
33
33
|
}
|
|
34
|
-
export
|
|
34
|
+
export type NotificationsData = Pick<Notification, 'channel' | 'destination' | 'projectId' | 'scope'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NotificationChannel, NotificationScope } from './Notification';
|
|
2
|
-
export
|
|
2
|
+
export type NotificationPlan = {
|
|
3
3
|
channel: NotificationChannel;
|
|
4
4
|
contentTemplate: string;
|
|
5
5
|
createTime: number;
|
|
@@ -12,9 +12,9 @@ export declare type NotificationPlan = {
|
|
|
12
12
|
subjectTemplate: string;
|
|
13
13
|
updateTime: number;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type NotificationPlanData = Pick<NotificationPlan, 'channel' | 'name'> & {
|
|
16
16
|
notificationContent: string;
|
|
17
17
|
notificationSubject: string;
|
|
18
18
|
scope: NotificationScope;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type NotificationPlanEditData = Omit<NotificationPlanData, 'channel'>;
|
|
@@ -5,7 +5,7 @@ export declare enum ArchivingStrategy {
|
|
|
5
5
|
DAYS = "DAYS",
|
|
6
6
|
RUNS = "RUNS"
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type Project = {
|
|
9
9
|
archiveTime: number;
|
|
10
10
|
archivingItemCount: number;
|
|
11
11
|
archivingStrategy: ArchivingStrategy;
|
|
@@ -25,7 +25,7 @@ export declare type Project = {
|
|
|
25
25
|
userEmail: string;
|
|
26
26
|
userId: number;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type UserProjectData = Pick<Project, 'name'>;
|
|
29
29
|
export interface UserProjectQueryParams extends TestRunsQueryParams {
|
|
30
30
|
showStatistics: boolean;
|
|
31
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Property = {
|
|
2
2
|
description: string;
|
|
3
3
|
fromTime: number;
|
|
4
4
|
id: number;
|
|
@@ -9,4 +9,4 @@ export declare type Property = {
|
|
|
9
9
|
updatedById: number;
|
|
10
10
|
value: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type PropertyData = Pick<Property, 'description' | 'fromTime' | 'name' | 'toTime' | 'value'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollectionQueryParams } from './HTTP';
|
|
2
|
-
export
|
|
2
|
+
export type Role = {
|
|
3
3
|
addedByEmail: string;
|
|
4
4
|
expireTime: number;
|
|
5
5
|
id: number;
|
|
@@ -11,6 +11,6 @@ export declare type Role = {
|
|
|
11
11
|
export interface RoleParams extends CollectionQueryParams {
|
|
12
12
|
withoutPriorities: boolean;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
14
|
+
export type RoleData = Pick<Role, 'expireTime' | 'value'> & {
|
|
15
15
|
roleId: number;
|
|
16
16
|
};
|
|
@@ -4,14 +4,14 @@ export declare enum ScreenshotType {
|
|
|
4
4
|
LANDSCAPE = "LANDSCAPE",
|
|
5
5
|
PORTRAIT = "PORTRAIT"
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type Screenshot = {
|
|
8
8
|
fail: boolean;
|
|
9
9
|
id: number;
|
|
10
10
|
originalName: string;
|
|
11
11
|
takeTimestamp: number;
|
|
12
12
|
type: ScreenshotType;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type ScreenshotExtended = Screenshot & {
|
|
15
15
|
device: Device;
|
|
16
16
|
deviceRunId: number;
|
|
17
17
|
projectId: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChargeType, PaymentMethod } from './AccountService';
|
|
2
2
|
import { CollectionQueryParams } from './HTTP';
|
|
3
3
|
import { Role } from './Role';
|
|
4
|
-
export
|
|
4
|
+
export type Service = {
|
|
5
5
|
activateTime: number;
|
|
6
6
|
activated: boolean;
|
|
7
7
|
archiveTime: number;
|
|
@@ -34,7 +34,7 @@ export interface AdminServicesParams extends CollectionQueryParams {
|
|
|
34
34
|
inUse: boolean;
|
|
35
35
|
notArchive: boolean;
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type ServiceActivateData = {
|
|
38
38
|
activateTime: number;
|
|
39
39
|
};
|
|
40
40
|
export interface ServiceData {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export type SimpleSetting = Record<string, string | number | boolean>;
|
|
2
|
+
export type NestedSetting = Record<string, SimpleSetting>;
|
|
3
|
+
export type Settings = SimpleSetting | NestedSetting | Record<string, NestedSetting>;
|
|
4
|
+
export type SettingsParams = {
|
|
5
5
|
withVulnerableData: boolean;
|
|
6
6
|
};
|
package/dist/api/models/Tag.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollectionBasicQueryParams, QueryParams } from './HTTP';
|
|
2
|
-
export
|
|
2
|
+
export type Tag = {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
@@ -7,7 +7,7 @@ export interface TestRunTagsData {
|
|
|
7
7
|
projectId: number;
|
|
8
8
|
name: string;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type TagsData = Pick<TestRunTagsData, 'name'>;
|
|
11
11
|
export interface TagsQueryParams extends CollectionBasicQueryParams {
|
|
12
12
|
projectId: number;
|
|
13
13
|
}
|
|
@@ -6,7 +6,7 @@ export declare enum TestResult {
|
|
|
6
6
|
SKIPPED = "SKIPPED",
|
|
7
7
|
NOT_AVAILABLE = "NOT_AVAILABLE"
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type TestCaseRun = {
|
|
10
10
|
className: string;
|
|
11
11
|
createTime: number;
|
|
12
12
|
duration: number;
|
|
@@ -18,7 +18,7 @@ export declare type TestCaseRun = {
|
|
|
18
18
|
steps: CollectionResponse<TestCaseRunStep>;
|
|
19
19
|
suiteName: string;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type TestCaseRunStep = {
|
|
22
22
|
duration: number;
|
|
23
23
|
httpMethod: Uppercase<Method>;
|
|
24
24
|
id: number;
|
|
@@ -19,7 +19,7 @@ export declare enum TestState {
|
|
|
19
19
|
RUNNING = "RUNNING",
|
|
20
20
|
FINISHED = "FINISHED"
|
|
21
21
|
}
|
|
22
|
-
export
|
|
22
|
+
export type TestRun = {
|
|
23
23
|
abortedDeviceCount: number;
|
|
24
24
|
billable: boolean;
|
|
25
25
|
config: TestRunConfig;
|
|
@@ -64,7 +64,7 @@ export declare enum TestRunConfigFileAction {
|
|
|
64
64
|
INSTALL = "INSTALL",
|
|
65
65
|
RUN_TEST = "RUN_TEST"
|
|
66
66
|
}
|
|
67
|
-
export
|
|
67
|
+
export type TestRunConfig = {
|
|
68
68
|
appCrawlerRun: boolean;
|
|
69
69
|
appiumBrokerAddress: string;
|
|
70
70
|
applicationPassword: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DeviceSessionDataAvailability } from './DeviceSessionDataAvailability';
|
|
2
2
|
import { QueryParams } from './HTTP';
|
|
3
|
-
export
|
|
3
|
+
export type TestRunDataAvailability = {
|
|
4
4
|
deviceRunDataAvailabilities: DeviceSessionDataAvailability[];
|
|
5
5
|
id: number;
|
|
6
6
|
testRunId: number;
|
|
@@ -10,7 +10,7 @@ export declare enum UserStatus {
|
|
|
10
10
|
DISABLED = "DISABLED",
|
|
11
11
|
ENABLED = "ENABLED"
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type User = {
|
|
14
14
|
accountId: number;
|
|
15
15
|
accountName: string;
|
|
16
16
|
userAccountName: string;
|
|
@@ -45,7 +45,7 @@ export declare type User = {
|
|
|
45
45
|
timeZone: string;
|
|
46
46
|
vatId: string;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
48
|
+
export type UserData = Pick<User, 'email'>;
|
|
49
49
|
export interface UserParams extends CollectionQueryParams {
|
|
50
50
|
WITH_ADDRESS: boolean;
|
|
51
51
|
WITH_USER_INFO: boolean;
|
|
@@ -54,19 +54,19 @@ export interface UserParams extends CollectionQueryParams {
|
|
|
54
54
|
withRole: string;
|
|
55
55
|
withRoles: boolean;
|
|
56
56
|
}
|
|
57
|
-
export
|
|
58
|
-
export
|
|
57
|
+
export type UserUpdateAccount = Pick<User, 'accountId'>;
|
|
58
|
+
export type UserDeleteData = {
|
|
59
59
|
password: string;
|
|
60
60
|
};
|
|
61
61
|
export interface LoginData {
|
|
62
62
|
username: string;
|
|
63
63
|
password: string;
|
|
64
64
|
}
|
|
65
|
-
export
|
|
65
|
+
export type UserPasswordData = {
|
|
66
66
|
key: string;
|
|
67
67
|
password: string;
|
|
68
68
|
};
|
|
69
|
-
export
|
|
69
|
+
export type UserActivateData = {
|
|
70
70
|
zip: string;
|
|
71
71
|
} & UserPasswordData & Pick<User, 'address' | 'city' | 'country' | 'email' | 'firstName' | 'lastName' | 'organization' | 'phone' | 'state' | 'vatId'>;
|
|
72
72
|
export interface UserRecoveryQueryParams extends QueryParams {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DeviceSessionType } from './DeviceSession';
|
|
2
2
|
import { CollectionQueryParams } from './HTTP';
|
|
3
|
-
export
|
|
3
|
+
export type UserDeviceTime = BasicDeviceTime & {
|
|
4
4
|
billableTime: number;
|
|
5
5
|
createTime: number;
|
|
6
6
|
endTime: number;
|
|
@@ -9,7 +9,7 @@ export declare type UserDeviceTime = BasicDeviceTime & {
|
|
|
9
9
|
userId: number;
|
|
10
10
|
userName: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type BasicDeviceTime = {
|
|
13
13
|
deviceTime: number;
|
|
14
14
|
id: number;
|
|
15
15
|
};
|
|
@@ -12,16 +12,16 @@ export declare enum FileState {
|
|
|
12
12
|
PREPARING = "PREPARING",
|
|
13
13
|
READY = "READY"
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type FileProperty = {
|
|
16
16
|
id: number;
|
|
17
17
|
key: string;
|
|
18
18
|
value: string;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type UserFileTag = {
|
|
21
21
|
id: number;
|
|
22
22
|
name: string;
|
|
23
23
|
};
|
|
24
|
-
export
|
|
24
|
+
export type UserFile = {
|
|
25
25
|
createTime: number;
|
|
26
26
|
directUrl: string;
|
|
27
27
|
direction: FileDirection;
|
|
@@ -41,21 +41,21 @@ export declare type UserFile = {
|
|
|
41
41
|
export interface UserFileParams extends CollectionQueryParams {
|
|
42
42
|
tag: Array<string>;
|
|
43
43
|
}
|
|
44
|
-
export
|
|
44
|
+
export type UserFileData = {
|
|
45
45
|
file: FormData;
|
|
46
46
|
global: boolean;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
48
|
+
export type BuildLogsData = {
|
|
49
49
|
deviceRunIds: Array<number>;
|
|
50
50
|
projectId: number;
|
|
51
51
|
userId: number;
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type BuildLogsParams = BuildLogsData;
|
|
54
54
|
export interface FileSizeData extends QueryParams {
|
|
55
55
|
height: number;
|
|
56
56
|
width: number;
|
|
57
57
|
}
|
|
58
|
-
export
|
|
58
|
+
export type UploadObj = {
|
|
59
59
|
dir: string;
|
|
60
60
|
filename: string;
|
|
61
61
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { QueryParams } from './HTTP';
|
|
2
|
-
export
|
|
2
|
+
export type UserPreference = {
|
|
3
3
|
defaultHttpSessionMaxInactiveInterval: number;
|
|
4
4
|
httpSessionMaxInactiveInterval: number | null;
|
|
5
5
|
id: number;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type UserPreferenceData = {
|
|
8
8
|
httpSessionMaxInactiveInterval: number | null;
|
|
9
9
|
};
|
|
10
10
|
export interface UiPreferencesData extends QueryParams {
|
|
@@ -3,11 +3,11 @@ export declare enum VisualTestImageType {
|
|
|
3
3
|
VIEWPORT = "VIEWPORT",
|
|
4
4
|
ELEMENT_SCREENSHOT = "ELEMENT_SCREENSHOT"
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type VisualTestAccess = {
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
apiKey: string | null;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type VisualTest = {
|
|
11
11
|
comparisonStatus: string;
|
|
12
12
|
appUrl: string;
|
|
13
13
|
createdAt: string;
|