a3c789a8ff68b4945ef4ddcd4b25283a2460196b
[motion2.git] / server / api / smsQueue / smsQueue.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x12e3=['STRING','name','INTEGER','ENUM','rrmemory','beepall','roundrobin','sequelize','exports'];(function(_0x13872d,_0x1e4cc4){var _0x1e71b8=function(_0x3cd363){while(--_0x3cd363){_0x13872d['push'](_0x13872d['shift']());}};_0x1e71b8(++_0x1e4cc4);}(_0x12e3,0x1d2));var _0x312e=function(_0x3cf784,_0x20a8b3){_0x3cf784=_0x3cf784-0x0;var _0xf9e15c=_0x12e3[_0x3cf784];return _0xf9e15c;};'use strict';var Sequelize=require(_0x312e('0x0'));module[_0x312e('0x1')]={'name':{'type':Sequelize[_0x312e('0x2')],'unique':_0x312e('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x312e('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x312e('0x5')](_0x312e('0x6'),_0x312e('0x7'),_0x312e('0x8'))}};