Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / faxQueue / faxQueue.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 _0x9f89=['rrmemory','roundrobin','exports','name','STRING','INTEGER','ENUM'];(function(_0x2fd600,_0x410410){var _0x50afb5=function(_0x5eb80f){while(--_0x5eb80f){_0x2fd600['push'](_0x2fd600['shift']());}};_0x50afb5(++_0x410410);}(_0x9f89,0x13d));var _0x99f8=function(_0x483ca3,_0x4359c6){_0x483ca3=_0x483ca3-0x0;var _0x3264af=_0x9f89[_0x483ca3];return _0x3264af;};'use strict';var Sequelize=require('sequelize');module[_0x99f8('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x99f8('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x99f8('0x2')]},'timeout':{'type':Sequelize[_0x99f8('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x99f8('0x4')](_0x99f8('0x5'),'beepall',_0x99f8('0x6')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x99f8('0x3')],'defaultValue':0x0}};