d8e7b5d8e46558a1480bedad83eb5ecb850ee745
[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 _0x065e=['rrmemory','beepall','sequelize','exports','STRING'];(function(_0xd8526e,_0x267d68){var _0x5ad90b=function(_0x2ee087){while(--_0x2ee087){_0xd8526e['push'](_0xd8526e['shift']());}};_0x5ad90b(++_0x267d68);}(_0x065e,0xbb));var _0xe065=function(_0x5a685b,_0xa579c2){_0x5a685b=_0x5a685b-0x0;var _0x27178c=_0x065e[_0x5a685b];return _0x27178c;};'use strict';var Sequelize=require(_0xe065('0x0'));module[_0xe065('0x1')]={'name':{'type':Sequelize[_0xe065('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xe065('0x2')]},'timeout':{'type':Sequelize['INTEGER'],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xe065('0x3'),_0xe065('0x4'),'roundrobin'),'allowNull':![]},'lastAgent':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};