a2cf0902f366864f3c669734e265258ae73fe746
[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 _0x6a2b=['beepall','roundrobin','exports','STRING','ENUM','rrmemory'];(function(_0x39cbfd,_0x45bd9c){var _0x41b6bd=function(_0x24d704){while(--_0x24d704){_0x39cbfd['push'](_0x39cbfd['shift']());}};_0x41b6bd(++_0x45bd9c);}(_0x6a2b,0x1e2));var _0xb6a2=function(_0x29e3e4,_0x370df9){_0x29e3e4=_0x29e3e4-0x0;var _0x4f98e7=_0x6a2b[_0x29e3e4];return _0x4f98e7;};'use strict';var Sequelize=require('sequelize');module[_0xb6a2('0x0')]={'name':{'type':Sequelize[_0xb6a2('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xb6a2('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xb6a2('0x2')](_0xb6a2('0x3'),_0xb6a2('0x4'),_0xb6a2('0x5')),'allowNull':![]},'lastAgent':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};