2b935ad8e13d9963be0ba2e26cd23b5e9304e777
[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 _0x74a2=['STRING','INTEGER','ENUM','rrmemory','beepall','roundrobin','exports'];(function(_0x45a23e,_0x1b32a5){var _0xc5cd5e=function(_0x3eb5b3){while(--_0x3eb5b3){_0x45a23e['push'](_0x45a23e['shift']());}};_0xc5cd5e(++_0x1b32a5);}(_0x74a2,0x1bf));var _0x274a=function(_0x2261ce,_0x9ed8b6){_0x2261ce=_0x2261ce-0x0;var _0x524640=_0x74a2[_0x2261ce];return _0x524640;};'use strict';var Sequelize=require('sequelize');module[_0x274a('0x0')]={'name':{'type':Sequelize[_0x274a('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x274a('0x2')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x274a('0x3')](_0x274a('0x4'),_0x274a('0x5'),_0x274a('0x6')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x274a('0x2')],'defaultValue':0x0}};