@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.
Files changed (84) hide show
  1. package/.nvmrc +1 -0
  2. package/README.md +2 -2
  3. package/dist/ApiConfig.d.ts +1 -1
  4. package/dist/api/APIListFiles.d.ts +1 -1
  5. package/dist/api/admin.d.ts +22 -22
  6. package/dist/api/index.d.ts +1 -1
  7. package/dist/api/lists.d.ts +10 -10
  8. package/dist/api/models/AccessGroup.d.ts +3 -3
  9. package/dist/api/models/Account.d.ts +3 -3
  10. package/dist/api/models/AccountConcurrencyStatusMap.d.ts +2 -2
  11. package/dist/api/models/AccountPreference.d.ts +2 -2
  12. package/dist/api/models/AccountService.d.ts +3 -3
  13. package/dist/api/models/AccountServicePayment.d.ts +1 -1
  14. package/dist/api/models/Activity.d.ts +1 -1
  15. package/dist/api/models/AdminDevice.d.ts +3 -3
  16. package/dist/api/models/AdminDeviceSession.d.ts +2 -2
  17. package/dist/api/models/AdminDeviceSessionStatistics.d.ts +1 -1
  18. package/dist/api/models/AdminDeviceType.d.ts +2 -2
  19. package/dist/api/models/AdminEmail.d.ts +1 -1
  20. package/dist/api/models/AdminError.d.ts +1 -1
  21. package/dist/api/models/AdminFrameworkStatistics.d.ts +1 -1
  22. package/dist/api/models/AdminOverview.d.ts +1 -1
  23. package/dist/api/models/AdminTestRun.d.ts +1 -1
  24. package/dist/api/models/Administrator.d.ts +1 -1
  25. package/dist/api/models/BillingPeriod.d.ts +2 -2
  26. package/dist/api/models/Broker.d.ts +1 -1
  27. package/dist/api/models/Browser.d.ts +3 -3
  28. package/dist/api/models/CleanupConfiguration.d.ts +1 -1
  29. package/dist/api/models/Cluster.d.ts +2 -2
  30. package/dist/api/models/Connection.d.ts +2 -2
  31. package/dist/api/models/CountryVatRate.d.ts +2 -2
  32. package/dist/api/models/DesktopBrowserCapabilities.d.ts +3 -3
  33. package/dist/api/models/Device.d.ts +6 -6
  34. package/dist/api/models/DeviceFilter.d.ts +3 -3
  35. package/dist/api/models/DeviceGroup.d.ts +2 -2
  36. package/dist/api/models/DeviceModel.d.ts +2 -2
  37. package/dist/api/models/DeviceModelCriterion.d.ts +2 -2
  38. package/dist/api/models/DeviceModelPool.d.ts +2 -2
  39. package/dist/api/models/DeviceProblem.d.ts +2 -2
  40. package/dist/api/models/DeviceSession.d.ts +8 -8
  41. package/dist/api/models/DeviceSessionDataAvailability.d.ts +1 -1
  42. package/dist/api/models/DeviceStatistics.d.ts +1 -1
  43. package/dist/api/models/DeviceStatus.d.ts +1 -1
  44. package/dist/api/models/DeviceTimeCountSessionReportEntry.d.ts +1 -1
  45. package/dist/api/models/DeviceTimeStepTimeReportEntry.d.ts +1 -1
  46. package/dist/api/models/DeviceUsage.d.ts +1 -1
  47. package/dist/api/models/Enum.d.ts +1 -1
  48. package/dist/api/models/Framework.d.ts +4 -4
  49. package/dist/api/models/HTTP.d.ts +7 -7
  50. package/dist/api/models/LabelGroup.d.ts +2 -2
  51. package/dist/api/models/License.d.ts +14 -14
  52. package/dist/api/models/Maintenance.d.ts +2 -2
  53. package/dist/api/models/Message.d.ts +1 -1
  54. package/dist/api/models/Notification.d.ts +2 -2
  55. package/dist/api/models/NotificationPlan.d.ts +3 -3
  56. package/dist/api/models/Project.d.ts +2 -2
  57. package/dist/api/models/ProjectJobConfig.d.ts +1 -1
  58. package/dist/api/models/Property.d.ts +2 -2
  59. package/dist/api/models/Role.d.ts +2 -2
  60. package/dist/api/models/Screenshot.d.ts +2 -2
  61. package/dist/api/models/Service.d.ts +2 -2
  62. package/dist/api/models/Settings.d.ts +4 -4
  63. package/dist/api/models/SharedResource.d.ts +1 -1
  64. package/dist/api/models/SmartbearTunnel.d.ts +1 -1
  65. package/dist/api/models/Tag.d.ts +2 -2
  66. package/dist/api/models/TestCaseRun.d.ts +2 -2
  67. package/dist/api/models/TestRun.d.ts +2 -2
  68. package/dist/api/models/TestRunDataAvailability.d.ts +1 -1
  69. package/dist/api/models/User.d.ts +6 -6
  70. package/dist/api/models/UserDeviceTime.d.ts +2 -2
  71. package/dist/api/models/UserDeviceTimeSummary.d.ts +1 -1
  72. package/dist/api/models/UserFile.d.ts +7 -7
  73. package/dist/api/models/UserPreference.d.ts +2 -2
  74. package/dist/api/models/UserStatistics.d.ts +1 -1
  75. package/dist/api/models/VisualTest.d.ts +2 -2
  76. package/dist/api/resources.d.ts +21 -21
  77. package/dist/bitbar-cloud-api-client.js +23 -20
  78. package/dist/bitbar-cloud-api-client.js.map +1 -1
  79. package/dist/bitbar-cloud-api-client.min.js +3 -3
  80. package/dist/bitbar-cloud-api-client.min.js.map +1 -1
  81. package/eslint.config.mjs +50 -0
  82. package/package.json +34 -29
  83. package/typedoc.json +32 -0
  84. package/lockfile-exists.js +0 -9
@@ -1,6 +1,6 @@
1
1
  import { Device } from './Device';
2
2
  import { CollectionBasicQueryParams } from './HTTP';
3
- export declare type TunnelSettings = {
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 declare type DeviceSessionConfig = {
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 declare type DeviceSession = {
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 declare type DeviceSessionCommand = {
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 declare type DeviceSessionStep = {
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 declare type DeviceSessionConnection = {
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 declare type DeviceSessionData = Omit<DeviceSessionConfig, 'adbVersion' | 'id' | 'tunnelSettings' | 'type'> & {
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 declare type DeviceSessionRelease = {
146
+ export type DeviceSessionRelease = {
147
147
  reason: SessionReleaseReason;
148
148
  };
@@ -1,4 +1,4 @@
1
- export declare type DeviceSessionDataAvailability = {
1
+ export type DeviceSessionDataAvailability = {
2
2
  buildLogs: boolean;
3
3
  deviceRunId: number;
4
4
  id: number;
@@ -1,5 +1,5 @@
1
1
  import { OsType } from './Enum';
2
- export declare type DeviceStatistics = {
2
+ export type DeviceStatistics = {
3
3
  deviceName: string;
4
4
  failedDevices: number;
5
5
  failedRatio: number;
@@ -1,5 +1,5 @@
1
1
  import { DeviceState } from './AdminDevice';
2
- export declare type DeviceStatus = {
2
+ export type DeviceStatus = {
3
3
  alarmOn: boolean;
4
4
  aslOn: boolean;
5
5
  batteryLevel: number;
@@ -1,5 +1,5 @@
1
1
  import { OsType } from './Enum';
2
- export declare type DeviceTimeCountSessionReportEntry = {
2
+ export type DeviceTimeCountSessionReportEntry = {
3
3
  countDeviceSessions: number;
4
4
  countTestRuns: number;
5
5
  day: number;
@@ -1,5 +1,5 @@
1
1
  import { OsType } from './Enum';
2
- export declare type DeviceTimeStepTimeReportEntry = {
2
+ export type DeviceTimeStepTimeReportEntry = {
3
3
  day: number;
4
4
  deviceModelName: string;
5
5
  deviceTime: number;
@@ -1,5 +1,5 @@
1
1
  import { Device } from './Device';
2
- export declare type DeviceUsage = {
2
+ export type DeviceUsage = {
3
3
  device: Device;
4
4
  failedDeviceSessions: number;
5
5
  id: number;
@@ -4,7 +4,7 @@ export declare enum OsType {
4
4
  DESKTOP = "DESKTOP",
5
5
  UNDEFINED = "UNDEFINED"
6
6
  }
7
- export declare type Enum = {
7
+ export type Enum = {
8
8
  id: number;
9
9
  value: string;
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import { OsType } from './Enum';
2
2
  import { UserFile } from './UserFile';
3
- export declare type Framework = {
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 declare type FrameworkData = Omit<Framework, 'createTime' | 'id' | 'labelName' | 'accountName' | 'sampleApp' | 'sampleTest'> & {
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 declare type FrameworkEditData = Omit<FrameworkData, 'accountId' | 'id' | 'secured'>;
36
- export declare type FrameworkConfigData = {
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 declare type QueryParam = string | number | boolean;
4
- export declare type QueryParams = Record<string, QueryParam | Array<QueryParam>>;
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 declare type CollectionBasicQueryParams = Omit<CollectionQueryParams, 'search'>;
17
- export declare type NoQueryParams = {
16
+ export type CollectionBasicQueryParams = Omit<CollectionQueryParams, 'search'>;
17
+ export type NoQueryParams = {
18
18
  [key in any]: never;
19
19
  };
20
- export declare type CollectionResponse<T> = {
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 declare type SimpleCollectionResponse<T> = Pick<CollectionResponse<T>, 'data' | 'id'>;
33
- export declare type NoData = void;
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 declare type LabelGroup = {
2
+ export type LabelGroup = {
3
3
  displayName: string;
4
4
  id: number;
5
5
  name: string;
6
6
  };
7
- export declare type LabelData = Pick<DeviceProperty, 'displayName' | 'name'>;
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 declare type BaseLicense = {
7
+ export type BaseLicense = {
8
8
  enabled: boolean;
9
9
  };
10
- export declare type FeatureLicense = {
10
+ export type FeatureLicense = {
11
11
  deviceLimit: number;
12
12
  deviceLimited: boolean;
13
13
  projectLimit: number;
14
14
  projectLimited: boolean;
15
15
  };
16
- export declare type AndroidLicense = BaseLicense & FeatureLicense & {
16
+ export type AndroidLicense = BaseLicense & FeatureLicense & {
17
17
  cts: CTSLicense;
18
18
  uiAutomator: UIAutomatorLicense;
19
19
  };
20
- export declare type BuildLicense = BaseLicense & {
20
+ export type BuildLicense = BaseLicense & {
21
21
  limit: number;
22
22
  limited: boolean;
23
23
  };
24
- export declare type DesktopLicense = BaseLicense & FeatureLicense;
25
- export declare type GlobalLicense = FeatureLicense;
26
- export declare type InspectorLicense = BaseLicense;
27
- export declare type IOSLicense = BaseLicense & FeatureLicense;
28
- export declare type RecorderLicense = BaseLicense & {
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 declare type ServerLicense = BaseLicense & {
32
+ export type ServerLicense = BaseLicense & {
33
33
  androidEnabled: boolean;
34
34
  iosEnabled: boolean;
35
35
  };
36
- export declare type CTSLicense = BaseLicense;
37
- export declare type UIAutomatorLicense = BaseLicense;
38
- export declare type License = {
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 declare type LicenseData = Pick<License, 'privateInstance' | 'userId'> & {
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 declare type Maintenance = {
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 declare type MaintenanceData = {
10
+ export type MaintenanceData = {
11
11
  enabled: boolean;
12
12
  type: MaintenanceType;
13
13
  };
@@ -1,3 +1,3 @@
1
- export declare type Message = {
1
+ export type Message = {
2
2
  message: string;
3
3
  };
@@ -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 declare type Notification = {
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 declare type NotificationsData = Pick<Notification, 'channel' | 'destination' | 'projectId' | 'scope'>;
34
+ export type NotificationsData = Pick<Notification, 'channel' | 'destination' | 'projectId' | 'scope'>;
@@ -1,5 +1,5 @@
1
1
  import { NotificationChannel, NotificationScope } from './Notification';
2
- export declare type NotificationPlan = {
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 declare type NotificationPlanData = Pick<NotificationPlan, 'channel' | 'name'> & {
15
+ export type NotificationPlanData = Pick<NotificationPlan, 'channel' | 'name'> & {
16
16
  notificationContent: string;
17
17
  notificationSubject: string;
18
18
  scope: NotificationScope;
19
19
  };
20
- export declare type NotificationPlanEditData = Omit<NotificationPlanData, 'channel'>;
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 declare type Project = {
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 declare type UserProjectData = Pick<Project, 'name'>;
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 declare type ProjectJobConfig = {
1
+ export type ProjectJobConfig = {
2
2
  content: string;
3
3
  frameworkId: number;
4
4
  global: boolean;
@@ -1,4 +1,4 @@
1
- export declare type Property = {
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 declare type PropertyData = Pick<Property, 'description' | 'fromTime' | 'name' | 'toTime' | 'value'>;
12
+ export type PropertyData = Pick<Property, 'description' | 'fromTime' | 'name' | 'toTime' | 'value'>;
@@ -1,5 +1,5 @@
1
1
  import { CollectionQueryParams } from './HTTP';
2
- export declare type Role = {
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 declare type RoleData = Pick<Role, 'expireTime' | 'value'> & {
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 declare type Screenshot = {
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 declare type ScreenshotExtended = Screenshot & {
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 declare type Service = {
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 declare type ServiceActivateData = {
37
+ export type ServiceActivateData = {
38
38
  activateTime: number;
39
39
  };
40
40
  export interface ServiceData {
@@ -1,6 +1,6 @@
1
- export declare type SimpleSetting = Record<string, string | number | boolean>;
2
- export declare type NestedSetting = Record<string, SimpleSetting>;
3
- export declare type Settings = SimpleSetting | NestedSetting | Record<string, NestedSetting>;
4
- export declare type SettingsParams = {
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
  };
@@ -4,7 +4,7 @@ export declare enum SharedResourceType {
4
4
  FILE = "FILE",
5
5
  PROJECT = "PROJECT"
6
6
  }
7
- export declare type SharedResource = {
7
+ export type SharedResource = {
8
8
  id: number;
9
9
  name: string;
10
10
  resourceId: number;
@@ -1,5 +1,5 @@
1
1
  import { CollectionQueryParams } from './HTTP';
2
- export declare type SmartbearTunnel = {
2
+ export type SmartbearTunnel = {
3
3
  acceptAllCerts: boolean;
4
4
  active: boolean;
5
5
  bypassPublicHosts: boolean;
@@ -1,5 +1,5 @@
1
1
  import { CollectionBasicQueryParams, QueryParams } from './HTTP';
2
- export declare type Tag = {
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 declare type TagsData = Pick<TestRunTagsData, 'name'>;
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 declare type TestCaseRun = {
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 declare type TestCaseRunStep = {
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 declare type TestRun = {
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 declare type TestRunConfig = {
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 declare type TestRunDataAvailability = {
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 declare type User = {
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 declare type UserData = Pick<User, 'email'>;
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 declare type UserUpdateAccount = Pick<User, 'accountId'>;
58
- export declare type UserDeleteData = {
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 declare type UserPasswordData = {
65
+ export type UserPasswordData = {
66
66
  key: string;
67
67
  password: string;
68
68
  };
69
- export declare type UserActivateData = {
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 declare type UserDeviceTime = BasicDeviceTime & {
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 declare type BasicDeviceTime = {
12
+ export type BasicDeviceTime = {
13
13
  deviceTime: number;
14
14
  id: number;
15
15
  };
@@ -1,5 +1,5 @@
1
1
  import { CollectionQueryParams } from './HTTP';
2
- export declare type UserDeviceTimeSummary = {
2
+ export type UserDeviceTimeSummary = {
3
3
  automaticDeviceTime: number;
4
4
  freeDeviceTime: number;
5
5
  id: number;
@@ -12,16 +12,16 @@ export declare enum FileState {
12
12
  PREPARING = "PREPARING",
13
13
  READY = "READY"
14
14
  }
15
- export declare type FileProperty = {
15
+ export type FileProperty = {
16
16
  id: number;
17
17
  key: string;
18
18
  value: string;
19
19
  };
20
- export declare type UserFileTag = {
20
+ export type UserFileTag = {
21
21
  id: number;
22
22
  name: string;
23
23
  };
24
- export declare type UserFile = {
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 declare type UserFileData = {
44
+ export type UserFileData = {
45
45
  file: FormData;
46
46
  global: boolean;
47
47
  };
48
- export declare type BuildLogsData = {
48
+ export type BuildLogsData = {
49
49
  deviceRunIds: Array<number>;
50
50
  projectId: number;
51
51
  userId: number;
52
52
  };
53
- export declare type BuildLogsParams = BuildLogsData;
53
+ export type BuildLogsParams = BuildLogsData;
54
54
  export interface FileSizeData extends QueryParams {
55
55
  height: number;
56
56
  width: number;
57
57
  }
58
- export declare type UploadObj = {
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 declare type UserPreference = {
2
+ export type UserPreference = {
3
3
  defaultHttpSessionMaxInactiveInterval: number;
4
4
  httpSessionMaxInactiveInterval: number | null;
5
5
  id: number;
6
6
  };
7
- export declare type UserPreferenceData = {
7
+ export type UserPreferenceData = {
8
8
  httpSessionMaxInactiveInterval: number | null;
9
9
  };
10
10
  export interface UiPreferencesData extends QueryParams {
@@ -1,5 +1,5 @@
1
1
  import { QueryParams } from './HTTP';
2
- export declare type UserStatistics = {
2
+ export type UserStatistics = {
3
3
  additionalUsers: number;
4
4
  allTimeProjects: number;
5
5
  devicesUsed: number;
@@ -3,11 +3,11 @@ export declare enum VisualTestImageType {
3
3
  VIEWPORT = "VIEWPORT",
4
4
  ELEMENT_SCREENSHOT = "ELEMENT_SCREENSHOT"
5
5
  }
6
- export declare type VisualTestAccess = {
6
+ export type VisualTestAccess = {
7
7
  enabled: boolean;
8
8
  apiKey: string | null;
9
9
  };
10
- export declare type VisualTest = {
10
+ export type VisualTest = {
11
11
  comparisonStatus: string;
12
12
  appUrl: string;
13
13
  createdAt: string;