Built motion from commit e493b9a4954b50a8ee6d0034ba3601cd210d989d. Version 3.0.0...
[motion-next.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
1 'use strict';const a937_0xf3ba=['67NRfzMd','exports','TEXT','44345VGrndx','5857owYBUK','3026bwKIOX','mandatoryDispositionPauseId','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','100501JLdOVq','INTEGER','609003pdQqOg','STRING','7QEqeud','ENUM','twilio','929238gwvhyY','sequelize','randomstring','setDataValue','2CprcnI','attributes','6bMLtRe','BOOLEAN','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','mandatoryDisposition','44490NSjyVI','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','129TflMId'];const a937_0x1dcc=function(_0x222082,_0x5010f4){_0x222082=_0x222082-0x174;let _0xf3baf=a937_0xf3ba[_0x222082];return _0xf3baf;};const a937_0x2b5f53=a937_0x1dcc;(function(_0xd7e429,_0x30c1d0){const _0x39dba2=a937_0x1dcc;while(!![]){try{const _0xf7e1d7=parseInt(_0x39dba2(0x175))*parseInt(_0x39dba2(0x17f))+parseInt(_0x39dba2(0x17b))*-parseInt(_0x39dba2(0x181))+-parseInt(_0x39dba2(0x180))*parseInt(_0x39dba2(0x17c))+parseInt(_0x39dba2(0x18f))*-parseInt(_0x39dba2(0x184))+parseInt(_0x39dba2(0x186))+parseInt(_0x39dba2(0x18b))+parseInt(_0x39dba2(0x188))*-parseInt(_0x39dba2(0x179));if(_0xf7e1d7===_0x30c1d0)break;else _0xd7e429['push'](_0xd7e429['shift']());}catch(_0x77c46){_0xd7e429['push'](_0xd7e429['shift']());}}}(a937_0xf3ba,0x7c4b2));const {DataTypes}=require(a937_0x2b5f53(0x18c)),rs=require(a937_0x2b5f53(0x18d)),attributes={'name':{'type':DataTypes[a937_0x2b5f53(0x187)],'unique':'name','allowNull':![]},'key':{'type':DataTypes[a937_0x2b5f53(0x187)],'allowNull':![]},'remote':{'type':DataTypes['STRING'],'allowNull':![]},'token':{'type':DataTypes[a937_0x2b5f53(0x187)],'defaultValue':function(){return rs['generate']();}},'phone':{'type':DataTypes[a937_0x2b5f53(0x187)]},'type':{'type':DataTypes[a937_0x2b5f53(0x189)](a937_0x2b5f53(0x18a))},'accountSid':{'type':DataTypes[a937_0x2b5f53(0x187)]},'authToken':{'type':DataTypes[a937_0x2b5f53(0x187)]},'notificationTemplate':{'type':DataTypes[a937_0x2b5f53(0x17e)],'defaultValue':function(){const _0x10527d=a937_0x2b5f53;return _0x10527d(0x177);}},'notificationSound':{'type':DataTypes[a937_0x2b5f53(0x176)],'defaultValue':![]},'notificationShake':{'type':DataTypes[a937_0x2b5f53(0x176)],'defaultValue':![]},'waitForTheAssignedAgent':{'type':DataTypes[a937_0x2b5f53(0x185)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':DataTypes[a937_0x2b5f53(0x176)],'defaultValue':![]},'queueTransferTimeout':{'type':DataTypes[a937_0x2b5f53(0x185)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':DataTypes[a937_0x2b5f53(0x176)],'defaultValue':![]},'agentTransferTimeout':{'type':DataTypes['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':DataTypes[a937_0x2b5f53(0x185)],'comment':a937_0x2b5f53(0x17a)},'mandatoryDisposition':{'type':DataTypes[a937_0x2b5f53(0x176)],'defaultValue':![],'comment':a937_0x2b5f53(0x183),'set':function(_0x5bfa23){const _0x258b41=a937_0x2b5f53;!_0x5bfa23&&this[_0x258b41(0x18e)](_0x258b41(0x182),null),this['setDataValue'](_0x258b41(0x178),_0x5bfa23);}},'description':{'type':DataTypes[a937_0x2b5f53(0x187)]}};module[a937_0x2b5f53(0x17d)][a937_0x2b5f53(0x174)]=attributes;