add constants
This commit is contained in:
parent
2a792c0945
commit
63b68cbeb7
|
@ -16,6 +16,9 @@ namespace models;
|
||||||
*/
|
*/
|
||||||
class Received extends StandardModel
|
class Received extends StandardModel
|
||||||
{
|
{
|
||||||
|
const STATUS_UNREAD = 'unread';
|
||||||
|
const STATUS_READ = 'read';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a list of unread received for a user.
|
* Return a list of unread received for a user.
|
||||||
*
|
*
|
||||||
|
|
|
@ -13,6 +13,10 @@ namespace models;
|
||||||
|
|
||||||
class Webhook extends StandardModel
|
class Webhook extends StandardModel
|
||||||
{
|
{
|
||||||
|
const TYPE_SEND = 'send_sms';
|
||||||
|
const TYPE_RECEIVE = 'receive_sms';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find all webhooks for a user and for a type of webhook.
|
* Find all webhooks for a user and for a type of webhook.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue