@bitbar/cloud-api-client 1.5.5 → 1.5.6

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.
@@ -2,7 +2,7 @@ import { API } from '../API';
2
2
  import { APIList } from './APIList';
3
3
  import { APIResource } from './APIResource';
4
4
  import { APIResourceBillingPeriod } from './APIResourceBillingPeriod';
5
- import { Account, AccountData, AccountSessionUsage, AccountSessionUsageSummary } from './models/Account';
5
+ import { Account, AccountData, AccountSessionUsage, AccountSessionUsageSummary, AccountUserSessionUsage } from './models/Account';
6
6
  import { AccountConcurrencyStatusMap } from './models/AccountConcurrencyStatusMap';
7
7
  import { AccountPreferences } from './models/AccountPreference';
8
8
  import { AccountService, ServicePaymentStatus } from './models/AccountService';
@@ -32,6 +32,7 @@ export declare class APIResourceAccount extends APIResource<Account, QueryParams
32
32
  accountServices(): APIList<AccountService, import("./models/HTTP").CollectionQueryParams, any>;
33
33
  accountService(id: number): APIList<AccountService, import("./models/HTTP").CollectionQueryParams, any>;
34
34
  services(): APIResource<ServicePaymentStatus, QueryParams, QueryParams>;
35
+ userUsageDetails(): APIList<AccountUserSessionUsage, import("./models/HTTP").CollectionQueryParams, any>;
35
36
  usageDetails(): APIList<AccountSessionUsage, import("./models/HTTP").CollectionQueryParams, any>;
36
37
  usageDetailsSummary(): APIResource<AccountSessionUsageSummary, QueryParams, QueryParams>;
37
38
  }
@@ -50,6 +50,15 @@ export type AccountUsage = {
50
50
  manualConcurrency: number;
51
51
  manualUsage: number;
52
52
  };
53
+ export type AccountUserSessionUsage = {
54
+ devices: number;
55
+ duration: number;
56
+ osVersions: number;
57
+ sessions: number;
58
+ sessionShare: number;
59
+ userId: number;
60
+ userName: string;
61
+ };
53
62
  export type AccountSessionUsage = {
54
63
  createTime: number;
55
64
  deviceModelName: string;
@@ -1,11 +1,11 @@
1
- /* @bitbar/cloud-api-client v1.5.5 | Copyright 2025 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.5.6 | 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.5.5";
8
+ var version = "1.5.6";
9
9
 
10
10
  /******************************************************************************
11
11
  Copyright (c) Microsoft Corporation.
@@ -1475,6 +1475,9 @@
1475
1475
  services() {
1476
1476
  return new APIResource(this).push('services');
1477
1477
  }
1478
+ userUsageDetails() {
1479
+ return new APIList(this).push('user-usage-details');
1480
+ }
1478
1481
  usageDetails() {
1479
1482
  return new APIList(this).push('usage-details');
1480
1483
  }