Built motion from commit 616d3211.|2.6.4
[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 _0x775e=['rrmemory','beepall','sequelize','exports','STRING','INTEGER'];(function(_0x1be29d,_0x751ec6){var _0x35f5d8=function(_0xb2253a){while(--_0xb2253a){_0x1be29d['push'](_0x1be29d['shift']());}};_0x35f5d8(++_0x751ec6);}(_0x775e,0xda));var _0xe775=function(_0x29ac10,_0x930c21){_0x29ac10=_0x29ac10-0x0;var _0xbc2cf2=_0x775e[_0x29ac10];return _0xbc2cf2;};'use strict';var Sequelize=require(_0xe775('0x0'));module[_0xe775('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xe775('0x2')]},'timeout':{'type':Sequelize[_0xe775('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xe775('0x4'),_0xe775('0x5'),'roundrobin'),'allowNull':![]},'lastAgent':{'type':Sequelize[_0xe775('0x3')],'defaultValue':0x0}};