Skip to content

Commit 40bae83

Browse files
Merge pull request #497 from marisuch/master
SDCB-13256: Fix casting type of labels group api call.
2 parents ffa20e3 + 42824ee commit 40bae83

8 files changed

+21
-21
lines changed

dist/API.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { APIResourceRun } from './api/APIResourceRun';
1919
import { APIResourceUser } from './api/APIResourceUser';
2020
import { APIResourceUserSession } from './api/APIResourceUserSession';
2121
import { Cluster } from './api/models/Cluster';
22-
import { NoQueryParams, QueryParams } from './api/models/HTTP';
22+
import { CollectionQueryParams, NoQueryParams } from './api/models/HTTP';
2323
import { License } from './api/models/License';
2424
import { Project } from './api/models/Project';
2525
import { Property } from './api/models/Property';
@@ -36,29 +36,29 @@ export declare class API {
3636
account(id: number): APIResourceAccount;
3737
admin(): APIAdminResource;
3838
broker(): APIResourceBroker;
39-
clusters(): APIList<Cluster, import("./api/models/HTTP").CollectionQueryParams, any>;
39+
clusters(): APIList<Cluster, CollectionQueryParams, any>;
4040
cluster(id: number): APIAdminResourceCluster;
4141
device(id: number): APIResourceDevice;
4242
deviceGroup(id: number): APIResourceDeviceGroup;
43-
deviceGroups(): APIList<any, import("./api/models/HTTP").CollectionQueryParams, any>;
43+
deviceGroups(): APIList<any, CollectionQueryParams, any>;
4444
devices(): APIListDevices;
4545
deviceSession(id: number): APIResourceDeviceSession;
46-
deviceSessions(): APIList<any, import("./api/models/HTTP").CollectionQueryParams, any>;
47-
deviceStatistics(): APIList<any, import("./api/models/HTTP").CollectionQueryParams, any>;
48-
enums(): APIResource<any, QueryParams, QueryParams>;
46+
deviceSessions(): APIList<any, CollectionQueryParams, any>;
47+
deviceStatistics(): APIList<any, CollectionQueryParams, any>;
48+
enums(): APIResource<any, import("./api/models/HTTP").QueryParams, import("./api/models/HTTP").QueryParams>;
4949
files(): APIList<UserFile, UserFileParams, UserFileData>;
5050
file(id: number): APIResourceFile;
51-
labelGroups(): APIList<LabelGroup, QueryParams, void>;
51+
labelGroups(): APIList<LabelGroup, CollectionQueryParams, void>;
5252
labelGroup(id: number): APIResourceLabelGroup;
53-
labels(): APIList<any, import("./api/models/HTTP").CollectionQueryParams, any>;
54-
licenses(): APIResource<any, QueryParams, QueryParams>;
53+
labels(): APIList<any, CollectionQueryParams, any>;
54+
licenses(): APIResource<any, import("./api/models/HTTP").QueryParams, import("./api/models/HTTP").QueryParams>;
5555
license(): APIResource<License, NoQueryParams, void>;
5656
ma(): APIAdminResource | APIResourceUser;
5757
me(): APIResourceUser;
58-
projects(): APIList<Project, import("./api/models/HTTP").CollectionQueryParams, any>;
58+
projects(): APIList<Project, CollectionQueryParams, any>;
5959
project(id: number): APIResourceProject;
6060
properties(): APIListProperties;
61-
property(id: number): APIResource<Property, QueryParams, QueryParams>;
61+
property(id: number): APIResource<Property, import("./api/models/HTTP").QueryParams, import("./api/models/HTTP").QueryParams>;
6262
run(id: number): APIResourceRun;
6363
services(): APIListServices;
6464
user(id: number | 'me'): APIResourceUser;

dist/bitbar-cloud-api-client.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitbar/cloud-api-client",
3-
"version": "1.2.8",
3+
"version": "1.2.9",
44
"description": "Bitbar Cloud API Client for JavaScript",
55
"main": "dist/bitbar-cloud-api-client.min.js",
66
"types": "dist/index.d.ts",

src/API.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {APIResourceRun} from './api/APIResourceRun';
2121
import {APIResourceUser} from './api/APIResourceUser';
2222
import {APIResourceUserSession} from './api/APIResourceUserSession';
2323
import {Cluster} from './api/models/Cluster';
24-
import {NoData, NoQueryParams, QueryParams} from './api/models/HTTP';
24+
import {CollectionQueryParams, NoData, NoQueryParams} from './api/models/HTTP';
2525
import {License} from './api/models/License';
2626
import {Project} from './api/models/Project';
2727
import {Property} from './api/models/Property';
@@ -175,7 +175,7 @@ export class API {
175175

176176
// /label-groups
177177
labelGroups() {
178-
return new APIList<LabelGroup, QueryParams, NoData>(this).push('label-groups');
178+
return new APIList<LabelGroup, CollectionQueryParams, NoData>(this).push('label-groups');
179179
}
180180

181181
// /label-groups/{id}

0 commit comments

Comments
 (0)