@bitbar/cloud-api-client 1.2.6 → 1.2.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.d.ts +6 -5
- package/dist/api/APIAdminResourceDevice.d.ts +0 -1
- package/dist/bitbar-cloud-api-client.js +2 -5
- 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
package/dist/API.d.ts
CHANGED
|
@@ -19,13 +19,14 @@ import { APIResourceRun } from './api/APIResourceRun';
|
|
|
19
19
|
import { APIResourceUser } from './api/APIResourceUser';
|
|
20
20
|
import { APIResourceUserSession } from './api/APIResourceUserSession';
|
|
21
21
|
import { Cluster } from './api/models/Cluster';
|
|
22
|
-
import { NoQueryParams } from './api/models/HTTP';
|
|
22
|
+
import { NoQueryParams, QueryParams } from './api/models/HTTP';
|
|
23
23
|
import { License } from './api/models/License';
|
|
24
24
|
import { Project } from './api/models/Project';
|
|
25
25
|
import { Property } from './api/models/Property';
|
|
26
26
|
import { UserFile, UserFileData, UserFileParams } from './api/models/UserFile';
|
|
27
27
|
import { ApiConfig } from './ApiConfig';
|
|
28
28
|
import './finka';
|
|
29
|
+
import { LabelGroup } from './api/models/LabelGroup';
|
|
29
30
|
export declare class API {
|
|
30
31
|
private config;
|
|
31
32
|
axios: AxiosInstance;
|
|
@@ -44,20 +45,20 @@ export declare class API {
|
|
|
44
45
|
deviceSession(id: number): APIResourceDeviceSession;
|
|
45
46
|
deviceSessions(): APIList<any, import("./api/models/HTTP").CollectionQueryParams, any>;
|
|
46
47
|
deviceStatistics(): APIList<any, import("./api/models/HTTP").CollectionQueryParams, any>;
|
|
47
|
-
enums(): APIResource<any,
|
|
48
|
+
enums(): APIResource<any, QueryParams, QueryParams>;
|
|
48
49
|
files(): APIList<UserFile, UserFileParams, UserFileData>;
|
|
49
50
|
file(id: number): APIResourceFile;
|
|
50
|
-
labelGroups(): APIList<
|
|
51
|
+
labelGroups(): APIList<LabelGroup, QueryParams, void>;
|
|
51
52
|
labelGroup(id: number): APIResourceLabelGroup;
|
|
52
53
|
labels(): APIList<any, import("./api/models/HTTP").CollectionQueryParams, any>;
|
|
53
|
-
licenses(): APIResource<any,
|
|
54
|
+
licenses(): APIResource<any, QueryParams, QueryParams>;
|
|
54
55
|
license(): APIResource<License, NoQueryParams, void>;
|
|
55
56
|
ma(): APIAdminResource | APIResourceUser;
|
|
56
57
|
me(): APIResourceUser;
|
|
57
58
|
projects(): APIList<Project, import("./api/models/HTTP").CollectionQueryParams, any>;
|
|
58
59
|
project(id: number): APIResourceProject;
|
|
59
60
|
properties(): APIListProperties;
|
|
60
|
-
property(id: number): APIResource<Property,
|
|
61
|
+
property(id: number): APIResource<Property, QueryParams, QueryParams>;
|
|
61
62
|
run(id: number): APIResourceRun;
|
|
62
63
|
services(): APIListServices;
|
|
63
64
|
user(id: number | 'me'): APIResourceUser;
|
|
@@ -7,7 +7,6 @@ import { DeviceCleanupConfiguration, DeviceCleanupConfigurationData, DeviceLabel
|
|
|
7
7
|
import { NoQueryParams, QueryParams } from './models/HTTP';
|
|
8
8
|
export declare class APIAdminResourceDevice extends APIResource<AdminDevice, NoQueryParams, AdminDeviceData> {
|
|
9
9
|
constructor(parent: APIAdminResource, id: number);
|
|
10
|
-
blink(): APIResource<AdminDevice, NoQueryParams, void>;
|
|
11
10
|
cleanupConfiguration(): APIResource<DeviceCleanupConfiguration, QueryParams, DeviceCleanupConfigurationData>;
|
|
12
11
|
labels(): APIList<DeviceProperty, NoQueryParams, DeviceLabelData>;
|
|
13
12
|
label(id: number): APIResource<DeviceProperty, NoQueryParams, void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.2.
|
|
1
|
+
/* @bitbar/cloud-api-client v1.2.8 | 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.8";
|
|
14
14
|
|
|
15
15
|
/******************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|
|
@@ -585,9 +585,6 @@
|
|
|
585
585
|
super(parent);
|
|
586
586
|
this.push('admin', 'devices', id);
|
|
587
587
|
}
|
|
588
|
-
blink() {
|
|
589
|
-
return new APIResource(this).push('blink').post();
|
|
590
|
-
}
|
|
591
588
|
cleanupConfiguration() {
|
|
592
589
|
return new APIResource(this).push('cleanup-configuration');
|
|
593
590
|
}
|