Search
Preparing search index...
The search index is not available
merchisdk
Options
All
Public
Public/Protected
All
Inherited
Menu
merchisdk
entities/draft
Draft
Class Draft
Hierarchy
Entity
Draft
Index
Constructors
constructor
Properties
accepted
archived
back
Objects
comments
create
date
designer
id
images
is
Dirty
job
key
merchi
notification
properties
Map
resend
Date
send
Email
send
Sms
viewed
merchi
Methods
clean
Dirty
comments
Youngest
ToEldest
create
Factory
delete
from
Json
get
Primary
Key
Value
recover
save
to
Form
Data
to
Json
update
Order
were
Changes
Requested
get
list
Constructors
constructor
new
Draft
(
merchi
?:
Merchi
)
:
Draft
Parameters
Optional
merchi:
Merchi
Returns
Draft
Properties
Optional
accepted
accepted
:
null
|
Date
Optional
archived
archived
:
null
|
Date
Readonly
back
Objects
back
Objects
:
Set
<
Entity
>
= ...
Optional
comments
comments
:
DraftComment
[]
create
create
:
(
options
?:
CreateOptions
)
=>
Promise
<
Draft
>
= ...
Type declaration
(
options
?:
CreateOptions
)
:
Promise
<
Draft
>
Parameters
Optional
options:
CreateOptions
Returns
Promise
<
Draft
>
Optional
date
date
:
null
|
Date
Optional
designer
designer
:
User
Optional
id
id
:
number
Optional
images
images
:
MerchiFile
[]
is
Dirty
is
Dirty
:
boolean
= false
Optional
job
job
:
Job
key
key
:
string
= ...
merchi
merchi
:
Merchi
Optional
notification
notification
:
Notification
[]
properties
Map
properties
Map
:
Map
<
string
,
PropertyInfo
>
Optional
resend
Date
resend
Date
:
null
|
Date
Optional
send
Email
send
Email
:
boolean
Optional
send
Sms
send
Sms
:
boolean
Optional
viewed
viewed
:
boolean
Static
merchi
merchi
:
Merchi
Methods
clean
Dirty
clean
Dirty
(
)
:
void
Returns
void
comments
Youngest
ToEldest
comments
Youngest
ToEldest
(
)
:
DraftComment
[]
Returns
DraftComment
[]
create
Factory
create
Factory
(
__namedParameters
:
Object
)
:
(
options
?:
CreateOptions
)
=>
Promise
<
this
>
Parameters
__namedParameters:
Object
Returns
(
options
?:
CreateOptions
)
=>
Promise
<
this
>
(
options
?:
CreateOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
CreateOptions
Returns
Promise
<
this
>
delete
delete
(
options
?:
DeleteOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
DeleteOptions
Returns
Promise
<
this
>
from
Json
from
Json
(
json
:
any
, options
?:
FromJsonOptions
)
:
this
Parameters
json:
any
Optional
options:
FromJsonOptions
Returns
this
get
Primary
Key
Value
get
Primary
Key
Value
(
)
:
any
Returns
any
recover
recover
(
options
?:
SaveOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
SaveOptions
Returns
Promise
<
this
>
save
save
(
options
?:
SaveOptions
)
:
Promise
<
this
>
Parameters
Optional
options:
SaveOptions
Returns
Promise
<
this
>
to
Form
Data
to
Form
Data
(
options
?:
SerialiseOptions
, fileIndex
?:
Counter
)
:
FormData
Parameters
Optional
options:
SerialiseOptions
Optional
fileIndex:
Counter
Returns
FormData
to
Json
to
Json
(
)
:
any
Returns
any
update
Order
update
Order
(
property
:
string
)
:
void
Parameters
property:
string
Returns
void
were
Changes
Requested
were
Changes
Requested
(
)
:
boolean
Returns
boolean
Static
get
get<T>
(
key
:
string
|
number
, options
?:
GetOptions
)
:
Promise
<
InstanceType
<
T
>
>
Type parameters
T
:
typeof
Entity
Parameters
key:
string
|
number
Optional
options:
GetOptions
Returns
Promise
<
InstanceType
<
T
>
>
Static
list
list<T>
(
options
?:
ListOptions
)
:
Promise
<
ListResponse
<
InstanceType
<
T
>
>
>
Type parameters
T
:
typeof
Entity
Parameters
Optional
options:
ListOptions
Returns
Promise
<
ListResponse
<
InstanceType
<
T
>
>
>
Modules
entities/draft
Draft
constructor
accepted
archived
back
Objects
comments
create
date
designer
id
images
is
Dirty
job
key
merchi
notification
properties
Map
resend
Date
send
Email
send
Sms
viewed
merchi
clean
Dirty
comments
Youngest
ToEldest
create
Factory
delete
from
Json
get
Primary
Key
Value
recover
save
to
Form
Data
to
Json
update
Order
were
Changes
Requested
get
list
Generated using
TypeDoc