Built motion from commit b4f7ded2.|2.0.69
[motion2.git] / server / api / faxAccount / faxAccount.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 _0xac95=['STRING','yes','localstationid','2400','4800','7200','14400','ENUM','12000','INTEGER','SIP','IAX','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','sequelize','exports'];(function(_0x3c68d0,_0x1920ba){var _0x360190=function(_0x4f07e9){while(--_0x4f07e9){_0x3c68d0['push'](_0x3c68d0['shift']());}};_0x360190(++_0x1920ba);}(_0xac95,0xa8));var _0x5ac9=function(_0xf24293,_0x23c43f){_0xf24293=_0xf24293-0x0;var _0x24f0d3=_0xac95[_0xf24293];return _0x24f0d3;};'use strict';var Sequelize=require(_0x5ac9('0x0'));module[_0x5ac9('0x1')]={'name':{'type':Sequelize[_0x5ac9('0x2')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x5ac9('0x2')]},'ecm':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':_0x5ac9('0x3')},'headerinfo':{'type':Sequelize[_0x5ac9('0x2')],'defaultValue':'xCALLY\x20Motion\x20Fax'},'localstationid':{'type':Sequelize[_0x5ac9('0x2')],'unique':_0x5ac9('0x4')},'minrate':{'type':Sequelize['ENUM'](_0x5ac9('0x5'),_0x5ac9('0x6'),_0x5ac9('0x7'),'9600','12000',_0x5ac9('0x8')),'defaultValue':_0x5ac9('0x6')},'maxrate':{'type':Sequelize[_0x5ac9('0x9')](_0x5ac9('0x5'),_0x5ac9('0x6'),_0x5ac9('0x7'),'9600',_0x5ac9('0xa'),_0x5ac9('0x8')),'defaultValue':'14400'},'modem':{'type':Sequelize[_0x5ac9('0x2')],'defaultValue':'v17,v27,v29'},'gateway':{'type':Sequelize[_0x5ac9('0x2')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize['STRING'],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0x5ac9('0xb')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0x5ac9('0x9')](_0x5ac9('0xc'),_0x5ac9('0xd'),'DADHI','KHOMP'),'defaultValue':_0x5ac9('0xc')},'key':{'type':Sequelize['STRING'],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x5ac9('0xe')],'defaultValue':function(){return _0x5ac9('0xf');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x5ac9('0x10')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x5ac9('0xb')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa}};