@bitbar/cloud-api-client 1.0.6 → 1.0.8
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/APIResourceDeviceSessionStandalone.d.ts +2 -2
- package/dist/api/APIUserResourceAccount.d.ts +3 -1
- package/dist/api/models/{VisualTestImage.d.ts → VisualTesting.d.ts} +5 -1
- package/dist/bitbar-cloud-api-client.js +5 -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 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -5,12 +5,14 @@ import { APIResourceUser } from './APIResourceUser';
|
|
|
5
5
|
import { Account } from './models/Account';
|
|
6
6
|
import { AccountServicePayment } from './models/AccountServicePayment';
|
|
7
7
|
import { BillingPeriodQueryParams } from './models/BillingPeriod';
|
|
8
|
-
import { CollectionBasicQueryParams } from './models/HTTP';
|
|
8
|
+
import { CollectionBasicQueryParams, NoQueryParams, SimpleCollectionResponse } from './models/HTTP';
|
|
9
9
|
import { User, UserData } from './models/User';
|
|
10
|
+
import { VisualTestAccess } from './models/VisualTesting';
|
|
10
11
|
export declare class APIUserResourceAccount extends APIResource<Account> {
|
|
11
12
|
constructor(parent: APIResourceUser);
|
|
12
13
|
additionalUsers(): APIList<User, CollectionBasicQueryParams, UserData>;
|
|
13
14
|
additionalUser(id: number): APIResourceAdditionalUser;
|
|
14
15
|
serviceBillingPeriod(id: number): APIResource<AccountServicePayment, BillingPeriodQueryParams, void>;
|
|
16
|
+
visualTestsAccess(): APIResource<VisualTestAccess, NoQueryParams, SimpleCollectionResponse<VisualTestAccess>>;
|
|
15
17
|
}
|
|
16
18
|
export default APIUserResourceAccount;
|
|
@@ -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.8 | 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.8";
|
|
14
14
|
|
|
15
15
|
/******************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1643,6 +1643,9 @@
|
|
|
1643
1643
|
a.push(id, 'billing-period');
|
|
1644
1644
|
return a;
|
|
1645
1645
|
}
|
|
1646
|
+
visualTestsAccess() {
|
|
1647
|
+
return new APIResource(this).push('visual-tests-access');
|
|
1648
|
+
}
|
|
1646
1649
|
}
|
|
1647
1650
|
|
|
1648
1651
|
class APIResourceUser extends APIResource {
|