@bitbar/cloud-api-client 1.4.18 → 1.4.19

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.
@@ -4,6 +4,7 @@ import { OsType } from './Enum';
4
4
  import { CollectionBasicQueryParams, QueryParams } from './HTTP';
5
5
  import { Tag } from './Tag';
6
6
  import { UserFile } from './UserFile';
7
+ import { DeviceGroup } from './DeviceGroup';
7
8
  export declare enum LimitationType {
8
9
  PACKAGE = "PACKAGE",
9
10
  CLASS = "CLASS"
@@ -71,10 +72,10 @@ export type TestRunConfigFile = {
71
72
  id: number;
72
73
  };
73
74
  export type TestRunParameter = {
74
- name: string;
75
+ name?: string;
75
76
  key: string;
76
77
  value: string;
77
- label: string;
78
+ label?: string;
78
79
  };
79
80
  export type TRCDefaultSettings = {
80
81
  deviceLanguageCode: string;
@@ -90,7 +91,7 @@ export type TRCDefaultSettings = {
90
91
  timeout: string;
91
92
  projectName: string;
92
93
  testRunName: string;
93
- testRunParameters: TestRunParameter[];
94
+ testRunParameters?: TestRunParameter[];
94
95
  biometricInstrumentation: boolean;
95
96
  };
96
97
  export type TestRunConfig = TRCDefaultSettings & {
@@ -98,14 +99,14 @@ export type TestRunConfig = TRCDefaultSettings & {
98
99
  appiumBrokerAddress: string;
99
100
  applicationPassword: string;
100
101
  applicationUsername: string;
101
- availableDeviceGroups: any;
102
+ availableDeviceGroups: DeviceGroup[];
102
103
  availableDevices: Array<Device>;
103
104
  availableFrameworks: any;
104
105
  availableOsTypes: Array<OsType>;
105
106
  clientSideTestConfig: any;
106
107
  computedDevices: Array<number>;
107
108
  creditsPrice: number;
108
- deviceGroupId: number;
109
+ deviceGroupId?: number;
109
110
  deviceIds: any;
110
111
  deviceNamePattern: string;
111
112
  files: Array<TestRunConfigFile> | null;
@@ -142,11 +143,11 @@ export interface RunQueryParam extends QueryParams {
142
143
  export interface TestRunsData {
143
144
  configuration: TestRunConfig;
144
145
  }
145
- export interface TestRunsIncludes {
146
+ export type TestRunsIncludes = {
146
147
  includeDeviceGroups: boolean;
147
148
  includeDevices: boolean;
148
149
  includeFrameworks: boolean;
149
- }
150
+ };
150
151
  export type RunsConfigParams = TestRunsIncludes & QueryParams;
151
152
  export type TestRunsConfigData = TestRunsIncludes & TestRunsData;
152
153
  export interface TestRunsQueryParams extends CollectionBasicQueryParams {
@@ -1,11 +1,11 @@
1
- /* @bitbar/cloud-api-client v1.4.18 | Copyright 2025 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.4.19 | Copyright 2025 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
5
5
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["bitbar-cloud-api-client"] = {}, global["@bitbar/finka"], global.qs, global["node-abort-controller"]));
6
6
  })(this, (function (exports, finka, qs, nodeAbortController) { 'use strict';
7
7
 
8
- var version = "1.4.18";
8
+ var version = "1.4.19";
9
9
 
10
10
  /******************************************************************************
11
11
  Copyright (c) Microsoft Corporation.