@bitbar/cloud-api-client 1.0.4 → 1.0.5

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.
@@ -8,6 +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 { VisualTestImage } from './models/VisualTestImage';
11
12
  export declare class APIResourceDeviceSessionStandalone extends APIResource<DeviceSession> implements DeviceSessionStandalone {
12
13
  constructor(parent: APIResourceUser | APIAdminResourceUser, id: number);
13
14
  connections(): APIList<Connection, CollectionBasicQueryParams, ConnectionData>;
@@ -15,5 +16,6 @@ export declare class APIResourceDeviceSessionStandalone extends APIResource<Devi
15
16
  input(): InputFileset;
16
17
  output(): OutputFileset;
17
18
  release(): APIResource<DeviceSession, NoQueryParams, void>;
19
+ visualTestsImages(): APIList<VisualTestImage, NoQueryParams, void>;
18
20
  }
19
21
  export default APIResourceDeviceSessionStandalone;
@@ -0,0 +1,17 @@
1
+ export declare enum VTImageType {
2
+ FULL_PAGE = "FULL_PAGE",
3
+ VIEWPORT = "VIEWPORT",
4
+ ELEMENT_SCREENSHOT = "ELEMENT_SCREENSHOT"
5
+ }
6
+ export declare type VisualTestImage = {
7
+ comparisonStatus: string;
8
+ comparisonUrl: string;
9
+ createdAt: string;
10
+ id: number;
11
+ imageName: string;
12
+ imageThumbnailUrl: string;
13
+ imageType: VTImageType;
14
+ imageUrl: string;
15
+ sessionId: string;
16
+ testUrl: string;
17
+ };
@@ -1,4 +1,4 @@
1
- /* @bitbar/cloud-api-client v1.0.4 | Copyright 2022 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.0.5 | 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.4";
13
+ var version = "1.0.5";
14
14
 
15
15
  /******************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
@@ -908,6 +908,9 @@
908
908
  release() {
909
909
  return new APIResource(this).push('release').post();
910
910
  }
911
+ visualTestsImages() {
912
+ return new APIList(this).push('visual-tests', 'images');
913
+ }
911
914
  }
912
915
 
913
916
  let APIAdminResourceUser = class APIAdminResourceUser extends APIResource {