Search
Preparing search index...
The search index is not available
zeroq-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"office"
Office
Class Office
office
class that manages active offices implemented functions:
getlines
newlinecreator
Hierarchy
Office
Implements
IOffice
Index
Constructors
constructor
Properties
api
api
Form
Line
field
Data
is
Tmp
lines
office
Channel
office
Id
office
Name
office
Slug
online
reservable
subscribers
timezone
token
version2
web
Only
Methods
get
Data
State
get
Field
get
Lines
map
Dto
ToLines
new
Line
Creator
subscribe
Constructors
constructor
new
Office
(
dto
:
OfficeDTO
, api
:
Api
, channel
:
IChannel
, token
:
string
, isTmp
?:
boolean
)
:
Office
Parameters
dto:
OfficeDTO
api:
Api
channel:
IChannel
token:
string
Default value
isTmp:
boolean
= false
Returns
Office
Properties
api
api
:
Api
api
Form
Line
api
Form
Line
:
ApiFormLine
Optional
field
Data
field
Data
:
IResponseFormData
is
Tmp
is
Tmp
:
boolean
lines
lines
:
Array
<
ILine
>
office
Channel
office
Channel
:
IChannel
office
Id
office
Id
:
number
office
Name
office
Name
:
string
office
Slug
office
Slug
:
string
online
online
:
boolean
reservable
reservable
:
boolean
subscribers
subscribers
:
Array
<
ISubscriptionCallbacks
>
timezone
timezone
:
string
token
token
:
string
version2
version2
:
boolean
web
Only
web
Only
:
boolean
Methods
get
Data
State
get
Data
State
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Field
get
Field
(
reload
?:
undefined
|
false
|
true
, token
?:
undefined
|
string
)
:
Promise
<
IResponseFormData
>
Parameters
Optional
reload:
undefined
|
false
|
true
Optional
token:
undefined
|
string
Returns
Promise
<
IResponseFormData
>
get
Lines
get
Lines
(
)
:
Promise
<
Array
<
ILine
>
>
Returns
Promise
<
Array
<
ILine
>
>
Private
map
Dto
ToLines
map
Dto
ToLines
(
dtos
:
Array
<
LineDTO
>
)
:
Array
<
ILine
>
Parameters
dtos:
Array
<
LineDTO
>
Returns
Array
<
ILine
>
new
Line
Creator
new
Line
Creator
(
lineDto
:
LineDTO
)
:
ILine
Parameters
lineDto:
LineDTO
Returns
ILine
subscribe
subscribe
(
scb
:
ISubscriptionCallbacks
)
:
void
Parameters
scb:
ISubscriptionCallbacks
Returns
void
Globals
"office"
Office
constructor
api
api
Form
Line
field
Data
is
Tmp
lines
office
Channel
office
Id
office
Name
office
Slug
online
reservable
subscribers
timezone
token
version2
web
Only
get
Data
State
get
Field
get
Lines
map
Dto
ToLines
new
Line
Creator
subscribe
Office
Validation
Error
ISubscription
Callbacks
Generated using
TypeDoc
class that manages active offices implemented functions: