@bitbar/cloud-api-client 1.4.11 → 1.4.12

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,10 +1,8 @@
1
1
  import { APIAdminResource } from './APIAdminResource';
2
2
  import { APIList } from './APIList';
3
- import { AdminDeviceSessionStatistics, AdminStatisticsParams } from './models/AdminDeviceSessionStatistics';
4
- import { AdminFrameworkStatistics } from './models/AdminFrameworkStatistics';
3
+ import { AdminFrameworkStatistics, AdminStatisticsParams } from './models/AdminFrameworkStatistics';
5
4
  export declare class APIAdminListStatistics extends APIList {
6
5
  constructor(parent: APIAdminResource);
7
- deviceSessions(): APIList<AdminDeviceSessionStatistics, AdminStatisticsParams, void>;
8
6
  frameworks(): APIList<AdminFrameworkStatistics, AdminStatisticsParams, void>;
9
7
  }
10
8
  export default APIAdminListStatistics;
@@ -1,12 +1,8 @@
1
1
  import { APIAdminResource } from './APIAdminResource';
2
2
  import { APIList } from './APIList';
3
- import { DeviceTimeCountSessionReportEntry } from './models/DeviceTimeCountSessionReportEntry';
4
- import { DeviceTimeStepTimeReportEntry } from './models/DeviceTimeStepTimeReportEntry';
5
3
  import { NoData } from './models/HTTP';
6
4
  import { DeviceTimeParams, UserDeviceTime } from './models/UserDeviceTime';
7
5
  export declare class APIAdminResourceDeviceTime extends APIList<UserDeviceTime, DeviceTimeParams, NoData> {
8
6
  constructor(parent: APIAdminResource);
9
- countSessionReport(): APIList<DeviceTimeCountSessionReportEntry, import("./models/HTTP").CollectionQueryParams, any>;
10
- stepTimeReport(): APIList<DeviceTimeStepTimeReportEntry, import("./models/HTTP").CollectionQueryParams, any>;
11
7
  }
12
8
  export default APIAdminResourceDeviceTime;
@@ -1,3 +1,4 @@
1
+ import { CollectionQueryParams } from './HTTP';
1
2
  import { DeviceSessionState } from './DeviceSession';
2
3
  import { OsType } from './Enum';
3
4
  export declare enum FrameworkType {
@@ -22,3 +23,6 @@ export type AdminFrameworkStatistics = {
22
23
  userEmail: string;
23
24
  userId: number;
24
25
  };
26
+ export interface AdminStatisticsParams extends CollectionQueryParams {
27
+ days: number;
28
+ }
@@ -1,11 +1,11 @@
1
- /* @bitbar/cloud-api-client v1.4.11 | Copyright 2025 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.4.12 | 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.11";
8
+ var version = "1.4.12";
9
9
 
10
10
  /******************************************************************************
11
11
  Copyright (c) Microsoft Corporation.
@@ -517,9 +517,6 @@
517
517
  super(parent);
518
518
  this.push('admin', 'statistics');
519
519
  }
520
- deviceSessions() {
521
- return new APIList(this).push('device-sessions');
522
- }
523
520
  frameworks() {
524
521
  return new APIList(this).push('frameworks');
525
522
  }
@@ -767,12 +764,6 @@
767
764
  super(parent);
768
765
  this.push('admin', 'device-time');
769
766
  }
770
- countSessionReport() {
771
- return new APIList(this).push('count-session-report');
772
- }
773
- stepTimeReport() {
774
- return new APIList(this).push('step-time-report');
775
- }
776
767
  }
777
768
 
778
769
  class APIAdminResourceFramework extends APIResource {