Built motion from commit 4ffc18b1.|2.6.31
[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 _0xd28f=['rrmemory','beepall','roundrobin','exports','INTEGER'];(function(_0x27e018,_0x5ec279){var _0x323d51=function(_0x50a7e0){while(--_0x50a7e0){_0x27e018['push'](_0x27e018['shift']());}};_0x323d51(++_0x5ec279);}(_0xd28f,0x134));var _0xfd28=function(_0x1ef08b,_0x3da68e){_0x1ef08b=_0x1ef08b-0x0;var _0x38c83c=_0xd28f[_0x1ef08b];return _0x38c83c;};'use strict';var Sequelize=require('sequelize');module[_0xfd28('0x0')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xfd28('0x1')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xfd28('0x2'),_0xfd28('0x3'),_0xfd28('0x4')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0xfd28('0x1')],'defaultValue':0x0}};