Skip to content

Commit 094ccb5

Browse files
author
Marek Sierociński
committed
Added input to device-session
1 parent e80a58a commit 094ccb5

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

dist/cloud-api-client.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Bitbar Cloud API Client for JavaScript v0.15.0 | (c) Bitbar Technologies and contributors | https://github.com/bitbar/cloud-api-client-js/blob/master/LICENSE.md */
1+
/* Bitbar Cloud API Client for JavaScript v0.16.0 | (c) Bitbar Technologies and contributors | https://github.com/bitbar/cloud-api-client-js/blob/master/LICENSE.md */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@bitbar/finka'), require('axios'), require('qs')) :
44
typeof define === 'function' && define.amd ? define(['@bitbar/finka', 'axios', 'qs'], factory) :
@@ -11,7 +11,7 @@
1111

1212
finka();
1313

14-
var version = "0.15.0";
14+
var version = "0.16.0";
1515

1616
/*! *****************************************************************************
1717
Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1256,6 +1256,9 @@
12561256
}
12571257
return new APIResource(this).push('connections', id);
12581258
};
1259+
APIAdminResourceDeviceSession.prototype.input = function () {
1260+
return new InputFileset(this);
1261+
};
12591262
APIAdminResourceDeviceSession.prototype.output = function () {
12601263
return new OutputFileset(this);
12611264
};

dist/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.

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": "0.15.0",
3+
"version": "0.16.0",
44
"description": "Bitbar Cloud API Client for JavaScript",
55
"main": "dist/cloud-api-client.js",
66
"types": "dist/index.d.ts",

src/api/APIAdminResourceDeviceSession.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import APIResource from './APIResource'
22
import APIList from './APIList';
33

4+
import InputFileset from './extra-class/InputFileset';
45
import OutputFileset from './extra-class/OutputFileset';
56

67

@@ -47,6 +48,11 @@ class APIAdminResourceDeviceSession extends APIResource {
4748
return new APIResource(this).push('connections', id);
4849
}
4950

51+
// /device-sessions/{id}/output-file-set
52+
public input () {
53+
return new InputFileset(this);
54+
}
55+
5056
// /device-sessions/{id}/output-file-set
5157
public output () {
5258
return new OutputFileset(this);

0 commit comments

Comments
 (0)