@bitbar/cloud-api-client 1.4.17 → 1.4.18

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.
@@ -1,30 +1,32 @@
1
1
  import { OsType } from './Enum';
2
2
  import { UserFile } from './UserFile';
3
- export type Framework = {
3
+ export type FrameworkOptions = {
4
+ id: number;
5
+ name: string;
6
+ description: string;
7
+ icon: string;
8
+ type: string;
9
+ requiredAppExtensions: string;
10
+ requiredTestExtensions: string;
11
+ sampleApp: UserFile;
12
+ sampleTest: UserFile;
13
+ };
14
+ export type Framework = FrameworkOptions & {
4
15
  accountId: number;
5
16
  accountName: string;
6
17
  canRunFromUI: boolean;
7
18
  createTime: number;
8
- description: string;
9
19
  documentationUrl: string;
10
20
  forProjects: boolean;
11
- icon: string;
12
- id: number;
13
21
  labelId: number;
14
22
  labelName: string;
15
- name: string;
16
23
  osType: OsType;
17
24
  queueWait: number;
18
- requiredAppExtensions: string;
19
- requiredTestExtensions: string;
20
25
  requiredTestFileTags: string;
21
26
  retryable: boolean;
22
- sampleApp: UserFile;
23
- sampleTest: UserFile;
24
27
  secured: boolean;
25
28
  skipOlderSdk: boolean;
26
29
  skipQueue: boolean;
27
- type: string;
28
30
  };
29
31
  export type FrameworkData = Omit<Framework, 'createTime' | 'id' | 'labelName' | 'accountName' | 'sampleApp' | 'sampleTest'> & {
30
32
  addLabelToDevices: boolean;
@@ -70,7 +70,30 @@ export type TestRunConfigFile = {
70
70
  file: UserFile;
71
71
  id: number;
72
72
  };
73
- export type TestRunConfig = {
73
+ export type TestRunParameter = {
74
+ name: string;
75
+ key: string;
76
+ value: string;
77
+ label: string;
78
+ };
79
+ export type TRCDefaultSettings = {
80
+ deviceLanguageCode: string;
81
+ disableResigning: boolean;
82
+ hookURL: string;
83
+ instrumentationRunner: string;
84
+ limitationType: string;
85
+ limitationValue: string;
86
+ scheduler: string;
87
+ screenshotDir: string;
88
+ withAnnotation: string;
89
+ withoutAnnotation: string;
90
+ timeout: string;
91
+ projectName: string;
92
+ testRunName: string;
93
+ testRunParameters: TestRunParameter[];
94
+ biometricInstrumentation: boolean;
95
+ };
96
+ export type TestRunConfig = TRCDefaultSettings & {
74
97
  appCrawlerRun: boolean;
75
98
  appiumBrokerAddress: string;
76
99
  applicationPassword: string;
@@ -79,47 +102,33 @@ export type TestRunConfig = {
79
102
  availableDevices: Array<Device>;
80
103
  availableFrameworks: any;
81
104
  availableOsTypes: Array<OsType>;
82
- biometricInstrumentation: boolean;
83
105
  clientSideTestConfig: any;
84
106
  computedDevices: Array<number>;
85
107
  creditsPrice: number;
86
108
  deviceGroupId: number;
87
109
  deviceIds: any;
88
- deviceLanguageCode: string;
89
110
  deviceNamePattern: string;
90
- disableResigning: boolean;
91
111
  files: Array<TestRunConfigFile> | null;
92
112
  frameworkId: number;
93
- hookURL: string;
94
113
  id: number;
95
- instrumentationRunner: string;
96
- limitationType: LimitationType;
97
- limitationValue: string;
98
114
  loadedPrevious: boolean;
99
115
  example: true;
100
116
  maxAutoRetriesCount: number;
101
117
  maxTestTimeout: any;
102
118
  osType: OsType;
103
119
  projectId: number;
104
- projectName: string;
105
120
  resignFiles: boolean;
106
121
  runAvailable: boolean;
107
- scheduler: TestScheduler;
108
- screenshotDir: string;
109
122
  status: string;
110
123
  statusCode: number;
111
124
  testRunId: number;
112
- testRunName: string;
113
125
  testRunNameGrouping: string;
114
- testRunParameters: any;
115
- timeout: number;
116
126
  tunnelSettings: TunnelSettings;
117
127
  useSamples: boolean;
118
128
  usedDeviceGroupId: number;
119
129
  usedDeviceGroupName: string;
120
130
  videoRecordingEnabled: boolean;
121
131
  withAnnotation: string;
122
- withoutAnnotation: string;
123
132
  };
124
133
  export interface TestRunData extends QueryParams {
125
134
  displayName: string;
@@ -1,11 +1,11 @@
1
- /* @bitbar/cloud-api-client v1.4.17 | Copyright 2025 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.4.18 | 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.17";
8
+ var version = "1.4.18";
9
9
 
10
10
  /******************************************************************************
11
11
  Copyright (c) Microsoft Corporation.