Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
1 const a782_0x5626=['BOOLEAN','randomstring','mandatoryDispositionPauseId','twilio','mandatoryDisposition','STRING','name','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','setDataValue','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','TEXT','ENUM','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','INTEGER','sequelize','exports'];(function(_0x55f35f,_0x562695){const _0x31fc8f=function(_0x460637){while(--_0x460637){_0x55f35f['push'](_0x55f35f['shift']());}};_0x31fc8f(++_0x562695);}(a782_0x5626,0x75));const a782_0x31fc=function(_0x55f35f,_0x562695){_0x55f35f=_0x55f35f-0x0;let _0x31fc8f=a782_0x5626[_0x55f35f];return _0x31fc8f;};const _0x5bb98d=a782_0x31fc;'use strict';const Sequelize=require(_0x5bb98d('0x9')),rs=require(_0x5bb98d('0xc'));module[_0x5bb98d('0xa')]={'name':{'type':Sequelize[_0x5bb98d('0x0')],'unique':_0x5bb98d('0x1'),'allowNull':![]},'key':{'type':Sequelize[_0x5bb98d('0x0')],'allowNull':![]},'remote':{'type':Sequelize[_0x5bb98d('0x0')],'allowNull':![]},'token':{'type':Sequelize[_0x5bb98d('0x0')],'defaultValue':function(){return rs['generate']();}},'phone':{'type':Sequelize[_0x5bb98d('0x0')]},'type':{'type':Sequelize[_0x5bb98d('0x6')](_0x5bb98d('0xe'))},'accountSid':{'type':Sequelize[_0x5bb98d('0x0')]},'authToken':{'type':Sequelize[_0x5bb98d('0x0')]},'notificationTemplate':{'type':Sequelize[_0x5bb98d('0x5')],'defaultValue':function(){const _0x1f0a56=_0x5bb98d;return _0x1f0a56('0x4');}},'notificationSound':{'type':Sequelize[_0x5bb98d('0xb')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0x5bb98d('0xb')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x5bb98d('0xb')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x5bb98d('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x5bb98d('0xb')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x5bb98d('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':_0x5bb98d('0x2')},'mandatoryDisposition':{'type':Sequelize[_0x5bb98d('0xb')],'defaultValue':![],'comment':_0x5bb98d('0x7'),'set':function(_0x460637){const _0x5b33a9=_0x5bb98d;!_0x460637&&this[_0x5b33a9('0x3')](_0x5b33a9('0xd'),null),this[_0x5b33a9('0x3')](_0x5b33a9('0xf'),_0x460637);}},'description':{'type':Sequelize['STRING']}};