@bitbar/cloud-api-client 1.0.5 → 1.0.7
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/APIResourceAccount.d.ts +2 -0
- package/dist/api/APIResourceDeviceSessionStandalone.d.ts +2 -2
- package/dist/api/models/{VisualTestImage.d.ts → VisualTesting.d.ts} +5 -1
- package/dist/bitbar-cloud-api-client.js +12 -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/dist/models.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4,9 +4,11 @@ import { Account } from './models/Account';
|
|
|
4
4
|
import { AccountConcurrencyStatusMap } from './models/AccountConcurrencyStatusMap';
|
|
5
5
|
import { AccountPreferences } from './models/AccountPreference';
|
|
6
6
|
import { NoQueryParams, SimpleCollectionResponse } from './models/HTTP';
|
|
7
|
+
import { VisualTestAccess } from './models/VisualTesting';
|
|
7
8
|
export declare class APIResourceAccount extends APIResource<Account> {
|
|
8
9
|
constructor(parent: API, id: number);
|
|
9
10
|
concurrencyStatus(): APIResource<AccountConcurrencyStatusMap, NoQueryParams, void>;
|
|
10
11
|
preferences(): APIResource<AccountPreferences, NoQueryParams, SimpleCollectionResponse<AccountPreferences>>;
|
|
12
|
+
visualTestsAccess(): APIResource<VisualTestAccess, NoQueryParams, SimpleCollectionResponse<VisualTestAccess>>;
|
|
11
13
|
}
|
|
12
14
|
export default APIResourceAccount;
|
|
@@ -8,7 +8,7 @@ import { DeviceSessionStandalone } from './interface/DeviceSessionStandalone';
|
|
|
8
8
|
import { Connection, ConnectionData } from './models/Connection';
|
|
9
9
|
import { DeviceSession } from './models/DeviceSession';
|
|
10
10
|
import { CollectionBasicQueryParams, NoQueryParams } from './models/HTTP';
|
|
11
|
-
import {
|
|
11
|
+
import { VisualTesting } from './models/VisualTesting';
|
|
12
12
|
export declare class APIResourceDeviceSessionStandalone extends APIResource<DeviceSession> implements DeviceSessionStandalone {
|
|
13
13
|
constructor(parent: APIResourceUser | APIAdminResourceUser, id: number);
|
|
14
14
|
connections(): APIList<Connection, CollectionBasicQueryParams, ConnectionData>;
|
|
@@ -16,6 +16,6 @@ export declare class APIResourceDeviceSessionStandalone extends APIResource<Devi
|
|
|
16
16
|
input(): InputFileset;
|
|
17
17
|
output(): OutputFileset;
|
|
18
18
|
release(): APIResource<DeviceSession, NoQueryParams, void>;
|
|
19
|
-
visualTestsImages(): APIList<
|
|
19
|
+
visualTestsImages(): APIList<VisualTesting, NoQueryParams, void>;
|
|
20
20
|
}
|
|
21
21
|
export default APIResourceDeviceSessionStandalone;
|
|
@@ -3,7 +3,11 @@ export declare enum VTImageType {
|
|
|
3
3
|
VIEWPORT = "VIEWPORT",
|
|
4
4
|
ELEMENT_SCREENSHOT = "ELEMENT_SCREENSHOT"
|
|
5
5
|
}
|
|
6
|
-
export declare type
|
|
6
|
+
export declare type VisualTestAccess = {
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
apiKey: string | null;
|
|
9
|
+
};
|
|
10
|
+
export declare type VisualTesting = {
|
|
7
11
|
comparisonStatus: string;
|
|
8
12
|
comparisonUrl: string;
|
|
9
13
|
createdAt: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.0.
|
|
1
|
+
/* @bitbar/cloud-api-client v1.0.7 | Copyright 2022 (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('axios'), require('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'axios', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
11
11
|
var finka__default = /*#__PURE__*/_interopDefaultLegacy(finka);
|
|
12
12
|
|
|
13
|
-
var version = "1.0.
|
|
13
|
+
var version = "1.0.7";
|
|
14
14
|
|
|
15
15
|
/******************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1451,6 +1451,9 @@
|
|
|
1451
1451
|
preferences() {
|
|
1452
1452
|
return new APIResource(this).push('preferences');
|
|
1453
1453
|
}
|
|
1454
|
+
visualTestsAccess() {
|
|
1455
|
+
return new APIResource(this).push('visual-tests-access');
|
|
1456
|
+
}
|
|
1454
1457
|
}
|
|
1455
1458
|
|
|
1456
1459
|
class APIResourceBroker extends APIResource {
|
|
@@ -2272,6 +2275,13 @@
|
|
|
2272
2275
|
FileState["READY"] = "READY";
|
|
2273
2276
|
})(exports.FileState || (exports.FileState = {}));
|
|
2274
2277
|
|
|
2278
|
+
exports.VTImageType = void 0;
|
|
2279
|
+
(function (VTImageType) {
|
|
2280
|
+
VTImageType["FULL_PAGE"] = "FULL_PAGE";
|
|
2281
|
+
VTImageType["VIEWPORT"] = "VIEWPORT";
|
|
2282
|
+
VTImageType["ELEMENT_SCREENSHOT"] = "ELEMENT_SCREENSHOT";
|
|
2283
|
+
})(exports.VTImageType || (exports.VTImageType = {}));
|
|
2284
|
+
|
|
2275
2285
|
exports.ALLOWED_HTTP_METHODS = ALLOWED_HTTP_METHODS;
|
|
2276
2286
|
exports.API = API;
|
|
2277
2287
|
exports.CloudAPIClient = CloudAPIClient;
|