@bitbar/cloud-api-client 1.4.17 → 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.
- package/dist/api/models/Framework.d.ts +12 -10
- package/dist/api/models/TestRun.d.ts +29 -19
- package/dist/bitbar-cloud-api-client.js +2 -2
- package/dist/bitbar-cloud-api-client.js.map +1 -1
- package/dist/bitbar-cloud-api-client.min.js +2 -2
- package/dist/bitbar-cloud-api-client.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { OsType } from './Enum';
|
|
2
2
|
import { UserFile } from './UserFile';
|
|
3
|
-
export type
|
|
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;
|
|
@@ -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"
|
|
@@ -70,56 +71,65 @@ export type TestRunConfigFile = {
|
|
|
70
71
|
file: UserFile;
|
|
71
72
|
id: number;
|
|
72
73
|
};
|
|
73
|
-
export type
|
|
74
|
+
export type TestRunParameter = {
|
|
75
|
+
name?: string;
|
|
76
|
+
key: string;
|
|
77
|
+
value: string;
|
|
78
|
+
label?: string;
|
|
79
|
+
};
|
|
80
|
+
export type TRCDefaultSettings = {
|
|
81
|
+
deviceLanguageCode: string;
|
|
82
|
+
disableResigning: boolean;
|
|
83
|
+
hookURL: string;
|
|
84
|
+
instrumentationRunner: string;
|
|
85
|
+
limitationType: string;
|
|
86
|
+
limitationValue: string;
|
|
87
|
+
scheduler: string;
|
|
88
|
+
screenshotDir: string;
|
|
89
|
+
withAnnotation: string;
|
|
90
|
+
withoutAnnotation: string;
|
|
91
|
+
timeout: string;
|
|
92
|
+
projectName: string;
|
|
93
|
+
testRunName: string;
|
|
94
|
+
testRunParameters?: TestRunParameter[];
|
|
95
|
+
biometricInstrumentation: boolean;
|
|
96
|
+
};
|
|
97
|
+
export type TestRunConfig = TRCDefaultSettings & {
|
|
74
98
|
appCrawlerRun: boolean;
|
|
75
99
|
appiumBrokerAddress: string;
|
|
76
100
|
applicationPassword: string;
|
|
77
101
|
applicationUsername: string;
|
|
78
|
-
availableDeviceGroups:
|
|
102
|
+
availableDeviceGroups: DeviceGroup[];
|
|
79
103
|
availableDevices: Array<Device>;
|
|
80
104
|
availableFrameworks: any;
|
|
81
105
|
availableOsTypes: Array<OsType>;
|
|
82
|
-
biometricInstrumentation: boolean;
|
|
83
106
|
clientSideTestConfig: any;
|
|
84
107
|
computedDevices: Array<number>;
|
|
85
108
|
creditsPrice: number;
|
|
86
|
-
deviceGroupId
|
|
109
|
+
deviceGroupId?: number;
|
|
87
110
|
deviceIds: any;
|
|
88
|
-
deviceLanguageCode: string;
|
|
89
111
|
deviceNamePattern: string;
|
|
90
|
-
disableResigning: boolean;
|
|
91
112
|
files: Array<TestRunConfigFile> | null;
|
|
92
113
|
frameworkId: number;
|
|
93
|
-
hookURL: string;
|
|
94
114
|
id: number;
|
|
95
|
-
instrumentationRunner: string;
|
|
96
|
-
limitationType: LimitationType;
|
|
97
|
-
limitationValue: string;
|
|
98
115
|
loadedPrevious: boolean;
|
|
99
116
|
example: true;
|
|
100
117
|
maxAutoRetriesCount: number;
|
|
101
118
|
maxTestTimeout: any;
|
|
102
119
|
osType: OsType;
|
|
103
120
|
projectId: number;
|
|
104
|
-
projectName: string;
|
|
105
121
|
resignFiles: boolean;
|
|
106
122
|
runAvailable: boolean;
|
|
107
|
-
scheduler: TestScheduler;
|
|
108
|
-
screenshotDir: string;
|
|
109
123
|
status: string;
|
|
110
124
|
statusCode: number;
|
|
111
125
|
testRunId: number;
|
|
112
|
-
testRunName: string;
|
|
113
126
|
testRunNameGrouping: string;
|
|
114
|
-
testRunParameters: any;
|
|
115
|
-
timeout: number;
|
|
116
127
|
tunnelSettings: TunnelSettings;
|
|
117
128
|
useSamples: boolean;
|
|
118
129
|
usedDeviceGroupId: number;
|
|
119
130
|
usedDeviceGroupName: string;
|
|
120
131
|
videoRecordingEnabled: boolean;
|
|
121
132
|
withAnnotation: string;
|
|
122
|
-
withoutAnnotation: string;
|
|
123
133
|
};
|
|
124
134
|
export interface TestRunData extends QueryParams {
|
|
125
135
|
displayName: string;
|
|
@@ -133,11 +143,11 @@ export interface RunQueryParam extends QueryParams {
|
|
|
133
143
|
export interface TestRunsData {
|
|
134
144
|
configuration: TestRunConfig;
|
|
135
145
|
}
|
|
136
|
-
export
|
|
146
|
+
export type TestRunsIncludes = {
|
|
137
147
|
includeDeviceGroups: boolean;
|
|
138
148
|
includeDevices: boolean;
|
|
139
149
|
includeFrameworks: boolean;
|
|
140
|
-
}
|
|
150
|
+
};
|
|
141
151
|
export type RunsConfigParams = TestRunsIncludes & QueryParams;
|
|
142
152
|
export type TestRunsConfigData = TestRunsIncludes & TestRunsData;
|
|
143
153
|
export interface TestRunsQueryParams extends CollectionBasicQueryParams {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.4.
|
|
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.
|
|
8
|
+
var version = "1.4.19";
|
|
9
9
|
|
|
10
10
|
/******************************************************************************
|
|
11
11
|
Copyright (c) Microsoft Corporation.
|