@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
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.coffee). It means that you can use all methods that are there.
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.coffee). It means that you can use all methods that are there.
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
 
@@ -1,5 +1,5 @@
1
1
  import { AxiosBasicCredentials } from 'axios';
2
- export declare type ApiConfig = {
2
+ export type ApiConfig = {
3
3
  baseURL: string;
4
4
  cloudUrl: string;
5
5
  v2?: boolean;
@@ -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;
@@ -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 declare type APIAdminListDevices = InstanceType<typeof OriginAPIAdminListDevices>;
24
- export declare type APIAdminListNotificationPlans = InstanceType<typeof OriginAPIAdminListNotificationPlans>;
25
- export declare type APIAdminListRuns = InstanceType<typeof OriginAPIAdminListRuns>;
26
- export declare type APIAdminListServices = InstanceType<typeof OriginAPIAdminListServices>;
27
- export declare type APIAdminListStatistics = InstanceType<typeof OriginAPIAdminListStatistics>;
28
- export declare type APIAdminResource = InstanceType<typeof OriginAPIAdminResource>;
29
- export declare type APIAdminResourceAccount = InstanceType<typeof OriginAPIAdminResourceAccount>;
30
- export declare type APIAdminResourceAccountService = InstanceType<typeof OriginAPIAdminResourceAccountService>;
31
- export declare type APIAdminResourceCluster = InstanceType<typeof OriginAPIAdminResourceCluster>;
32
- export declare type APIAdminResourceDevice = InstanceType<typeof OriginAPIAdminResourceDevice>;
33
- export declare type APIAdminResourceDeviceModel = InstanceType<typeof OriginAPIAdminResourceDeviceModel>;
34
- export declare type APIAdminResourceDeviceSession = InstanceType<typeof OriginAPIAdminResourceDeviceSession>;
35
- export declare type APIAdminResourceDeviceSessionStandalone = InstanceType<typeof OriginAPIAdminResourceDeviceSessionStandalone>;
36
- export declare type APIAdminResourceDeviceTime = InstanceType<typeof OriginAPIAdminResourceDeviceTime>;
37
- export declare type APIAdminResourceFramework = InstanceType<typeof OriginAPIAdminResourceFramework>;
38
- export declare type APIAdminResourceLicense = InstanceType<typeof OriginAPIAdminResourceLicense>;
39
- export declare type APIAdminResourceNotificationPlan = InstanceType<typeof OriginAPIAdminResourceNotificationPlan>;
40
- export declare type APIAdminResourceRun = InstanceType<typeof OriginAPIAdminResourceRun>;
41
- export declare type APIAdminResourceRunStandalone = InstanceType<typeof OriginAPIAdminResourceRunStandalone>;
42
- export declare type APIAdminResourceService = InstanceType<typeof OriginAPIAdminResourceService>;
43
- export declare type APIAdminResourceUser = InstanceType<typeof OriginAPIAdminResourceUser>;
44
- export declare type APIAdminResourceUserAccount = InstanceType<typeof OriginAPIAdminResourceUserAccount>;
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>;
@@ -1,5 +1,5 @@
1
1
  import { APIEntity as OriginAPIEntity } from './APIEntity';
2
- export declare type APIEntity = InstanceType<typeof OriginAPIEntity>;
2
+ export type APIEntity = InstanceType<typeof OriginAPIEntity>;
3
3
  export * from './class';
4
4
  export * from './admin';
5
5
  export * from './lists';
@@ -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 declare type APIList = InstanceType<typeof OriginAPIList>;
12
- export declare type APIListCleanupConfigurations = InstanceType<typeof OriginAPIListCleanupConfigurations>;
13
- export declare type APIListDevices = InstanceType<typeof OriginAPIListDevices>;
14
- export declare type APIListFiles = InstanceType<typeof OriginAPIListFiles>;
15
- export declare type APIListNotifications = InstanceType<typeof OriginAPIListNotifications>;
16
- export declare type APIListProperties = InstanceType<typeof OriginAPIListProperties>;
17
- export declare type APIListRuns = InstanceType<typeof OriginAPIListRuns>;
18
- export declare type APIListServices = InstanceType<typeof OriginAPIListServices>;
19
- export declare type APIListSmartbearTunnels = InstanceType<typeof OriginAPIListSmartbearTunnels>;
20
- export declare type APIListUsers = InstanceType<typeof OriginAPIListUsers>;
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 declare type AccessGroup = {
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 declare type AccessGroupData = Pick<AccessGroup, 'name' | 'scope' | 'userId'>;
14
- export declare type AccessGroupsData = Omit<AccessGroupData, 'userId'>;
13
+ export type AccessGroupData = Pick<AccessGroup, 'name' | 'scope' | 'userId'>;
14
+ export type AccessGroupsData = Omit<AccessGroupData, 'userId'>;
@@ -1,4 +1,4 @@
1
- export declare type Account = {
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 declare type Invoice = {
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 declare type AccountData = Partial<{
20
+ export type AccountData = Partial<{
21
21
  comment: string;
22
22
  invoiceDetails: Invoice;
23
23
  name: string;
@@ -1,4 +1,4 @@
1
- declare type ConcurrencyDetails = {
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 declare type AccountConcurrencyStatusMap = {
9
+ export type AccountConcurrencyStatusMap = {
10
10
  id: number;
11
11
  AUTOMATIC: ConcurrencyDetails;
12
12
  MANUAL: ConcurrencyDetails;
@@ -1,7 +1,7 @@
1
- export declare type AccountPreferences = {
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 declare type AccountPreferencesData = Partial<Omit<AccountPreferences, 'id'>>;
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 declare type ServicePaymentStatus = {
28
+ export type ServicePaymentStatus = {
29
29
  accountService: AccountService;
30
30
  message: string;
31
31
  redirectUrl: string;
32
32
  status: PaymentStatus;
33
33
  };
34
- export declare type AccountService = {
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 declare type AccountServiceData = Pick<AccountService, 'endTime' | 'serviceId' | 'slmLicenseId'> & {
64
+ export type AccountServiceData = Pick<AccountService, 'endTime' | 'serviceId' | 'slmLicenseId'> & {
65
65
  count: number;
66
66
  };
@@ -1,4 +1,4 @@
1
- export declare type AccountServicePayment = {
1
+ export type AccountServicePayment = {
2
2
  accountId: number;
3
3
  additionalTime: number;
4
4
  endBillingPeriod: number;
@@ -1,5 +1,5 @@
1
1
  import { Method } from 'axios';
2
- export declare type Activity = {
2
+ export type Activity = {
3
3
  body: string;
4
4
  createTime: number;
5
5
  deprecatedResource: boolean;
@@ -17,7 +17,7 @@ export declare enum DeviceState {
17
17
  ONLINE_FREE = "ONLINE_FREE",
18
18
  ONLINE_TESTING = "ONLINE_TESTING"
19
19
  }
20
- export declare type AdminDevice = {
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 declare type AdminDevicesQueryParams = Pick<DevicesQueryParams, 'withDisabled'> & CollectionQueryParams;
51
- export declare type AdminDeviceData = Pick<AdminDevice, 'accountId' | 'enabled' | 'initStep' | 'ipAddress' | 'name' | 'serialId' | 'testTimeLimit' | 'unlockGesture'> & {
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 declare type AdminDeviceSession = {
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 declare type AdminInteractiveDeviceSession = {
20
+ export type AdminInteractiveDeviceSession = {
21
21
  billable: boolean;
22
22
  createTime: number;
23
23
  deviceId: number;
@@ -1,5 +1,5 @@
1
1
  import { CollectionQueryParams } from './HTTP';
2
- export declare type AdminDeviceSessionStatistics = {
2
+ export type AdminDeviceSessionStatistics = {
3
3
  abortedDeviceCount: number;
4
4
  avgDeviceSessionDeviceTime: number;
5
5
  avgDeviceSessionDuration: number;
@@ -1,4 +1,4 @@
1
- export declare type AdminDeviceType = {
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 declare type DeviceTypeData = Omit<AdminDeviceType, 'id'> & {
10
+ export type DeviceTypeData = Omit<AdminDeviceType, 'id'> & {
11
11
  deviceTypeId: number;
12
12
  };
@@ -1,4 +1,4 @@
1
- export declare type AdminEmail = {
1
+ export type AdminEmail = {
2
2
  createTime: number;
3
3
  id: number;
4
4
  lastEntryTime: number;
@@ -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 declare type AdminError = {
35
+ export type AdminError = {
36
36
  id: number;
37
37
  quantity: number;
38
38
  type: AdminErrorType;
@@ -6,7 +6,7 @@ export declare enum FrameworkType {
6
6
  MANUAL_WEB = "MANUAL_WEB",
7
7
  REMOTE = "REMOTE"
8
8
  }
9
- export declare type AdminFrameworkStatistics = {
9
+ export type AdminFrameworkStatistics = {
10
10
  cloudName: string;
11
11
  count: number;
12
12
  day: number;
@@ -1,4 +1,4 @@
1
- export declare type AdminOverview = {
1
+ export type AdminOverview = {
2
2
  activeUsersCount: number;
3
3
  id: number;
4
4
  inspectorSessionsCount: number;
@@ -1,6 +1,6 @@
1
1
  import { QueryParams } from './HTTP';
2
2
  import { TestScheduler, TestState } from './TestRun';
3
- export declare type AdminTestRun = {
3
+ export type AdminTestRun = {
4
4
  appCrawlerRun: boolean;
5
5
  createTime: number;
6
6
  duration: number;
@@ -1,5 +1,5 @@
1
1
  import { User } from './User';
2
- export declare type Administrator = Pick<User, 'createTime' | 'deleteTime' | 'email' | 'id' | 'status'> & {
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 declare type BillingPeriod = {
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 declare type BillingPeriodUsage = {
29
+ export type BillingPeriodUsage = {
30
30
  billableSeconds: number;
31
31
  id: number;
32
32
  nonBillableSeconds: number;
@@ -2,7 +2,7 @@ export declare enum BrokerType {
2
2
  MOBILE = "MOBILE",
3
3
  DESKTOP = "DESKTOP"
4
4
  }
5
- export declare type Broker = {
5
+ export type Broker = {
6
6
  id: number;
7
7
  location: string;
8
8
  type: BrokerType;
@@ -1,5 +1,5 @@
1
1
  import { OsType } from './Enum';
2
- export declare type Browser = {
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 declare type BrowserData = Omit<Browser, 'id' | 'install'>;
13
- export declare type DeviceBrowserData = {
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 declare type CleanupConfigurationData = Pick<DeviceCleanupConfiguration, 'content' | 'discriminator' | 'enabled' | 'osType'>;
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 declare type Cluster = {
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 declare type ClusterData = Pick<Cluster, 'enabled' | 'url'> & {
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 declare type Connection = {
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 declare type ConnectionData = Pick<Connection, 'host' | 'port' | 'type' | 'password'>;
15
+ export type ConnectionData = Pick<Connection, 'host' | 'port' | 'type' | 'password'>;
@@ -1,7 +1,7 @@
1
- export declare type CountryVatRate = {
1
+ export type CountryVatRate = {
2
2
  country: string;
3
3
  countryCode: string;
4
4
  id: number;
5
5
  vatRate: number;
6
6
  };
7
- export declare type CountryVatRateData = Pick<CountryVatRate, 'countryCode' | 'vatRate'>;
7
+ export type CountryVatRateData = Pick<CountryVatRate, 'countryCode' | 'vatRate'>;
@@ -1,9 +1,9 @@
1
1
  import { Platform } from './Device';
2
- export declare type DesktopBrowserCapabilities = {
2
+ export type DesktopBrowserCapabilities = {
3
3
  id: number;
4
4
  platforms: Array<any>;
5
5
  };
6
- export declare type DesktopPlatform = {
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 declare type DesktopBrowser = {
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 declare type DeviceProperty = {
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 declare type SoftwareVersion = {
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 declare type Device = {
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 declare type DeviceCleanupConfiguration = {
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 declare type DeviceCleanupConfigurationData = {
84
+ export type DeviceCleanupConfigurationData = {
85
85
  deviceCleanupConfigurationId: number;
86
86
  };
87
- export declare type DeviceLabelData = {
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 declare type DevicePicker = {
2
+ export type DevicePicker = {
3
3
  deviceFilterGroups: Array<DeviceFilterGroup>;
4
4
  id: number;
5
5
  };
6
- export declare type DeviceFilter = {
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 declare type DeviceFilterGroup = {
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 declare type DeviceGroup = {
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 declare type DeviceGroupData = Pick<DeviceGroup, 'displayName' | 'name' | 'osType'> | {
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 declare type DeviceModel = {
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 declare type DeviceModelData = Pick<DeviceModel, 'enabled' | 'name' | 'releaseVersion'> & {
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 declare type DeviceModelCriterion = {
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 declare type DeviceModelCriterionData = Pick<DeviceModelCriterion, 'field' | 'labelGroupId'>;
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 declare type DeviceModelPool = {
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 declare type DeviceModelPoolData = Pick<DeviceModelPool, 'maxTotal' | 'minAvailable'>;
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 declare type DeviceProblem = {
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 declare type DeviceProblemPair = {
19
+ export type DeviceProblemPair = {
20
20
  id: number;
21
21
  type: ProblemType;
22
22
  value: any;