@bitbar/cloud-api-client 1.2.2 → 1.2.3
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/APIListProperties.d.ts +1 -1
- package/dist/api/APIResourceUser.d.ts +4 -4
- package/dist/api/models/User.d.ts +3 -0
- package/dist/api/models/UserPreference.d.ts +4 -3
- package/dist/bitbar-cloud-api-client.js +2 -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/package.json +1 -1
|
@@ -4,6 +4,6 @@ import { CollectionQueryParams } from './models/HTTP';
|
|
|
4
4
|
import { Property, PropertyData } from './models/Property';
|
|
5
5
|
export declare class APIListProperties extends APIList<Property, CollectionQueryParams, PropertyData> {
|
|
6
6
|
constructor(parent: API);
|
|
7
|
-
maintenance(): APIList<
|
|
7
|
+
maintenance(): APIList<Property, CollectionQueryParams, any>;
|
|
8
8
|
}
|
|
9
9
|
export default APIListProperties;
|
|
@@ -19,8 +19,8 @@ import { DeviceUsage } from './models/DeviceUsage';
|
|
|
19
19
|
import { Framework } from './models/Framework';
|
|
20
20
|
import { Project, UserProjectData, UserProjectQueryParams } from './models/Project';
|
|
21
21
|
import { Service } from './models/Service';
|
|
22
|
-
import { User } from './models/User';
|
|
23
|
-
import { UiPreferencesData, UserPreference } from './models/UserPreference';
|
|
22
|
+
import { User, UserDeleteData } from './models/User';
|
|
23
|
+
import { UiPreferencesData, UserPreference, UserPreferenceData } from './models/UserPreference';
|
|
24
24
|
import { StatisticQueryParams, UserStatistics } from './models/UserStatistics';
|
|
25
25
|
import { DeviceSession, DeviceSessionData, DeviceSessionQueryParams } from './models/DeviceSession';
|
|
26
26
|
import { CollectionBasicQueryParams, NoQueryParams } from './models/HTTP';
|
|
@@ -45,7 +45,7 @@ export declare class APIResourceUser extends APIResource<User> {
|
|
|
45
45
|
feedback(): APIResource<any, import("./models/HTTP").QueryParams, import("./models/HTTP").QueryParams>;
|
|
46
46
|
notifications(): APIListNotifications;
|
|
47
47
|
notification(id: number): APIResourceNotification;
|
|
48
|
-
preferences(): APIResource<UserPreference, NoQueryParams,
|
|
48
|
+
preferences(): APIResource<UserPreference, NoQueryParams, UserPreferenceData>;
|
|
49
49
|
uiPreferences(): APIResource<string, NoQueryParams, UiPreferencesData>;
|
|
50
50
|
deviceUsage(): APIList<DeviceUsage, DeviceUsageQueryParams, void>;
|
|
51
51
|
statistics(): APIResource<UserStatistics, StatisticQueryParams, void>;
|
|
@@ -54,6 +54,6 @@ export declare class APIResourceUser extends APIResource<User> {
|
|
|
54
54
|
accessGroup(id: number): APIResourceAccessGroup;
|
|
55
55
|
smartbearTunnel(id: number): APIResource<any, import("./models/HTTP").QueryParams, import("./models/HTTP").QueryParams>;
|
|
56
56
|
smartbearTunnels(): APIListSmartbearTunnels;
|
|
57
|
-
deleteAccount(): APIResource<
|
|
57
|
+
deleteAccount(): APIResource<User, void, UserDeleteData>;
|
|
58
58
|
}
|
|
59
59
|
export default APIResourceUser;
|
|
@@ -55,6 +55,9 @@ export interface UserParams extends CollectionQueryParams {
|
|
|
55
55
|
withRoles: boolean;
|
|
56
56
|
}
|
|
57
57
|
export declare type UserUpdateAccount = Pick<User, 'accountId'>;
|
|
58
|
+
export declare type UserDeleteData = {
|
|
59
|
+
password: string;
|
|
60
|
+
};
|
|
58
61
|
export interface LoginData {
|
|
59
62
|
username: string;
|
|
60
63
|
password: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { QueryParams } from './HTTP';
|
|
2
2
|
export declare type UserPreference = {
|
|
3
3
|
defaultHttpSessionMaxInactiveInterval: number;
|
|
4
|
-
|
|
5
|
-
httpSessionMaxInactiveInterval: number;
|
|
4
|
+
httpSessionMaxInactiveInterval: number | null;
|
|
6
5
|
id: number;
|
|
7
|
-
|
|
6
|
+
};
|
|
7
|
+
export declare type UserPreferenceData = {
|
|
8
|
+
httpSessionMaxInactiveInterval: number | null;
|
|
8
9
|
};
|
|
9
10
|
export interface UiPreferencesData extends QueryParams {
|
|
10
11
|
data: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.2.
|
|
1
|
+
/* @bitbar/cloud-api-client v1.2.3 | Copyright 2024 (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.2.
|
|
13
|
+
var version = "1.2.3";
|
|
14
14
|
|
|
15
15
|
/******************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|