Preparing search index...
The search index is not available
eiger-client
eiger-client
EigerClient
Class EigerClient
Hierarchy
EigerClient
Index
Constructors
constructor
Properties
_delete
_get
_post
_put
access
Key
add
To
Build
Queue
approve
Builds
approved
Builds
auth
Token
base
Url
build
builds
device
device
Queue
devices
disable
Build
Approvals
part
part
Version
part
Version
Download
Url
ping
print
print
Job
print
Job
Scan
Report
print
Jobs
printed
Part
printed
Parts
queued
Job
remove
From
Queue
secret
Key
send
To
Backlog
Constructors
constructor
new
Eiger
Client
(
accessKey
:
string
, secretKey
:
string
)
:
EigerClient
Parameters
accessKey:
string
secretKey:
string
Returns
EigerClient
Properties
Protected
_delete
_delete
:
(
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
=>
Promise
<
Response
>
)
= del
Type declaration
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
:
Promise
<
Response
>
Parameters
this:
EigerClient
url:
string
bodyArgs:
{}
= {}
Returns
Promise
<
Response
>
Protected
_get
_get
:
(
<
T
>
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
=>
Promise
<
HttpResponse
<
T
>
>
)
= get
Type declaration
<
T
>
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
:
Promise
<
HttpResponse
<
T
>
>
Type Parameters
T
Parameters
this:
EigerClient
url:
string
bodyArgs:
{}
= {}
Returns
Promise
<
HttpResponse
<
T
>
>
Protected
_post
_post
:
(
<
T
>
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
=>
Promise
<
HttpResponse
<
T
>
>
)
= post
Type declaration
<
T
>
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
:
Promise
<
HttpResponse
<
T
>
>
Type Parameters
T
Parameters
this:
EigerClient
url:
string
bodyArgs:
{}
= {}
Returns
Promise
<
HttpResponse
<
T
>
>
Protected
_put
_put
:
(
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
=>
Promise
<
Response
>
)
= put
Type declaration
(
this
:
EigerClient
, url
:
string
, bodyArgs
?:
{}
)
:
Promise
<
Response
>
Parameters
this:
EigerClient
url:
string
bodyArgs:
{}
= {}
Returns
Promise
<
Response
>
Readonly
access
Key
access
Key
:
string
= ""
add
To
Build
Queue
add
To
Build
Queue
:
(
(
this
:
EigerClient
, deviceId
:
string
, buildId
:
string
)
=>
Promise
<
HttpResponse
<
any
>
>
)
= Devices.addToBuildQueue
Type declaration
(
this
:
EigerClient
, deviceId
:
string
, buildId
:
string
)
:
Promise
<
HttpResponse
<
any
>
>
Parameters
this:
EigerClient
deviceId:
string
buildId:
string
Returns
Promise
<
HttpResponse
<
any
>
>
approve
Builds
approve
Builds
:
(
(
this
:
EigerClient
, buildIds
:
string
[]
)
=>
Promise
<
Response
>
)
= Builds.approveBuilds
Type declaration
(
this
:
EigerClient
, buildIds
:
string
[]
)
:
Promise
<
Response
>
Parameters
this:
EigerClient
buildIds:
string
[]
Returns
Promise
<
Response
>
approved
Builds
approved
Builds
:
(
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
=>
Promise
<
HttpResponse
<
ListBuildsData
>
>
)
= Builds.approvedBuilds
Type declaration
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
:
Promise
<
HttpResponse
<
ListBuildsData
>
>
Parameters
this:
EigerClient
pageNumber:
number
= 1
pageSize:
number
= 100
Returns
Promise
<
HttpResponse
<
ListBuildsData
>
>
Readonly
auth
Token
auth
Token
:
string
= ""
Readonly
base
Url
base
Url
:
string
= "https://www.eiger.io/api/v3"
build
build
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
Build
>
>
)
= Builds.build
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
Build
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
Build
>
>
builds
builds
:
(
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
=>
Promise
<
HttpResponse
<
ListBuildsData
>
>
)
= Builds.builds
Type declaration
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
:
Promise
<
HttpResponse
<
ListBuildsData
>
>
Parameters
this:
EigerClient
pageNumber:
number
= 1
pageSize:
number
= 100
Returns
Promise
<
HttpResponse
<
ListBuildsData
>
>
device
device
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
Device
>
>
)
= Devices.device
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
Device
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
Device
>
>
device
Queue
device
Queue
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
DeviceQueue
>
>
)
= Devices.deviceQueue
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
DeviceQueue
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
DeviceQueue
>
>
devices
devices
:
(
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
=>
Promise
<
HttpResponse
<
ListDevicesData
>
>
)
= Devices.devices
Type declaration
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
:
Promise
<
HttpResponse
<
ListDevicesData
>
>
Parameters
this:
EigerClient
pageNumber:
number
= 1
pageSize:
number
= 100
Returns
Promise
<
HttpResponse
<
ListDevicesData
>
>
disable
Build
Approvals
disable
Build
Approvals
:
(
(
this
:
EigerClient
)
=>
Promise
<
Response
>
)
= Builds.disableBuildApprovals
Type declaration
(
this
:
EigerClient
)
:
Promise
<
Response
>
Parameters
this:
EigerClient
Returns
Promise
<
Response
>
part
part
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
Part
>
>
)
= Parts.part
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
Part
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
Part
>
>
part
Version
part
Version
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
Part
>
>
)
= Parts.partVersion
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
Part
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
Part
>
>
part
Version
Download
Url
part
Version
Download
Url
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
{
url
:
string
;
}
>
>
)
= Parts.partVersionDownloadUrl
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
{
url
:
string
;
}
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
{
url
:
string
;
}
>
>
ping
ping
:
(
(
this
:
EigerClient
)
=>
string
)
= ping
Type declaration
(
this
:
EigerClient
)
:
string
Parameters
this:
EigerClient
Returns
string
print
print
:
(
(
this
:
EigerClient
, deviceId
:
string
, buildId
:
string
)
=>
Promise
<
HttpResponse
<
BacklogResponse
>
>
)
= Devices.print
Type declaration
(
this
:
EigerClient
, deviceId
:
string
, buildId
:
string
)
:
Promise
<
HttpResponse
<
BacklogResponse
>
>
Parameters
this:
EigerClient
deviceId:
string
buildId:
string
Returns
Promise
<
HttpResponse
<
BacklogResponse
>
>
print
Job
print
Job
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
PrintJobViewExtended
>
>
)
= PrintJobs.printJob
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
PrintJobViewExtended
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
PrintJobViewExtended
>
>
print
Job
Scan
Report
print
Job
Scan
Report
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
ScanReport
>
>
)
= PrintJobs.printJobScanReport
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
ScanReport
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
ScanReport
>
>
print
Jobs
print
Jobs
:
(
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
=>
Promise
<
HttpResponse
<
PrintJobsData
>
>
)
= PrintJobs.printJobs
Type declaration
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
:
Promise
<
HttpResponse
<
PrintJobsData
>
>
Parameters
this:
EigerClient
pageNumber:
number
= 1
pageSize:
number
= 100
Returns
Promise
<
HttpResponse
<
PrintJobsData
>
>
printed
Part
printed
Part
:
(
(
this
:
EigerClient
, id
:
string
)
=>
Promise
<
HttpResponse
<
PrintedPartViewExtended
>
>
)
= Parts.printedPart
Type declaration
(
this
:
EigerClient
, id
:
string
)
:
Promise
<
HttpResponse
<
PrintedPartViewExtended
>
>
Parameters
this:
EigerClient
id:
string
Returns
Promise
<
HttpResponse
<
PrintedPartViewExtended
>
>
printed
Parts
printed
Parts
:
(
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
=>
Promise
<
HttpResponse
<
PrintedPartsData
>
>
)
= Parts.printedParts
Type declaration
(
this
:
EigerClient
, pageNumber
?:
number
, pageSize
?:
number
)
:
Promise
<
HttpResponse
<
PrintedPartsData
>
>
Parameters
this:
EigerClient
pageNumber:
number
= 1
pageSize:
number
= 100
Returns
Promise
<
HttpResponse
<
PrintedPartsData
>
>
queued
Job
queued
Job
:
(
(
this
:
EigerClient
, deviceId
:
string
, jobId
:
string
)
=>
Promise
<
HttpResponse
<
QueuedPrintJobView
>
>
)
= Devices.queuedJob
Type declaration
(
this
:
EigerClient
, deviceId
:
string
, jobId
:
string
)
:
Promise
<
HttpResponse
<
QueuedPrintJobView
>
>
Parameters
this:
EigerClient
deviceId:
string
jobId:
string
Returns
Promise
<
HttpResponse
<
QueuedPrintJobView
>
>
remove
From
Queue
remove
From
Queue
:
(
(
this
:
EigerClient
, deviceId
:
string
, queuedId
:
string
)
=>
Promise
<
Response
>
)
= Devices.removeFromQueue
Type declaration
(
this
:
EigerClient
, deviceId
:
string
, queuedId
:
string
)
:
Promise
<
Response
>
Parameters
this:
EigerClient
deviceId:
string
queuedId:
string
Returns
Promise
<
Response
>
Readonly
secret
Key
secret
Key
:
string
= ""
send
To
Backlog
send
To
Backlog
:
(
(
this
:
EigerClient
, id
:
string
, dueDate
:
string
)
=>
Promise
<
HttpResponse
<
BacklogResponse
>
>
)
= Builds.sendToBacklog
Type declaration
(
this
:
EigerClient
, id
:
string
, dueDate
:
string
)
:
Promise
<
HttpResponse
<
BacklogResponse
>
>
Parameters
this:
EigerClient
id:
string
dueDate:
string
Returns
Promise
<
HttpResponse
<
BacklogResponse
>
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
eiger-
client
Eiger
Client
constructor
_delete
_get
_post
_put
access
Key
add
To
Build
Queue
approve
Builds
approved
Builds
auth
Token
base
Url
build
builds
device
device
Queue
devices
disable
Build
Approvals
part
part
Version
part
Version
Download
Url
ping
print
print
Job
print
Job
Scan
Report
print
Jobs
printed
Part
printed
Parts
queued
Job
remove
From
Queue
secret
Key
send
To
Backlog
Generated using
TypeDoc