Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
index a8accce..10acb04 100644 (file)
@@ -1 +1 @@
-const a937_0x375e=['ENUM','exports','BOOLEAN','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','mandatoryDisposition','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','STRING','INTEGER','name','sequelize','setDataValue'];(function(_0x33c437,_0x15416f){const _0x375e87=function(_0x3c09f0){while(--_0x3c09f0){_0x33c437['push'](_0x33c437['shift']());}};_0x375e87(++_0x15416f);}(a937_0x375e,0x78));const a937_0x3c09=function(_0x33c437,_0x15416f){_0x33c437=_0x33c437-0x1b5;let _0x375e87=a937_0x375e[_0x33c437];return _0x375e87;};const a937_0x3d2203=a937_0x3c09;'use strict';const {DataTypes}=require(a937_0x3d2203(0x1bf)),rs=require('randomstring'),attributes={'name':{'type':DataTypes[a937_0x3d2203(0x1bc)],'unique':a937_0x3d2203(0x1be),'allowNull':![]},'key':{'type':DataTypes['STRING'],'allowNull':![]},'remote':{'type':DataTypes[a937_0x3d2203(0x1bc)],'allowNull':![]},'token':{'type':DataTypes['STRING'],'defaultValue':function(){return rs['generate']();}},'phone':{'type':DataTypes[a937_0x3d2203(0x1bc)]},'type':{'type':DataTypes[a937_0x3d2203(0x1b6)]('twilio')},'accountSid':{'type':DataTypes[a937_0x3d2203(0x1bc)]},'authToken':{'type':DataTypes[a937_0x3d2203(0x1bc)]},'notificationTemplate':{'type':DataTypes['TEXT'],'defaultValue':function(){const _0x2948da=a937_0x3d2203;return _0x2948da(0x1b9);}},'notificationSound':{'type':DataTypes[a937_0x3d2203(0x1b8)],'defaultValue':![]},'notificationShake':{'type':DataTypes[a937_0x3d2203(0x1b8)],'defaultValue':![]},'waitForTheAssignedAgent':{'type':DataTypes['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':DataTypes[a937_0x3d2203(0x1bd)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':DataTypes[a937_0x3d2203(0x1b8)],'defaultValue':![]},'agentTransferTimeout':{'type':DataTypes[a937_0x3d2203(0x1bd)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':DataTypes[a937_0x3d2203(0x1bd)],'comment':a937_0x3d2203(0x1bb)},'mandatoryDisposition':{'type':DataTypes[a937_0x3d2203(0x1b8)],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0xcc694f){const _0x512c5f=a937_0x3d2203;!_0xcc694f&&this['setDataValue']('mandatoryDispositionPauseId',null),this[_0x512c5f(0x1b5)](_0x512c5f(0x1ba),_0xcc694f);}},'description':{'type':DataTypes['STRING']}};module[a937_0x3d2203(0x1b7)]['attributes']=attributes;
\ No newline at end of file
+const a937_0x46b9=['sequelize','ENUM','BOOLEAN','TEXT','attributes','INTEGER','STRING','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','exports','twilio','name'];(function(_0x520cce,_0x5bd624){const _0x46b93e=function(_0x5b8a4b){while(--_0x5b8a4b){_0x520cce['push'](_0x520cce['shift']());}};_0x46b93e(++_0x5bd624);}(a937_0x46b9,0xd0));const a937_0x5b8a=function(_0x520cce,_0x5bd624){_0x520cce=_0x520cce-0x93;let _0x46b93e=a937_0x46b9[_0x520cce];return _0x46b93e;};const a937_0x75a668=a937_0x5b8a;'use strict';const {DataTypes}=require(a937_0x75a668(0x9b)),rs=require('randomstring'),attributes={'name':{'type':DataTypes['STRING'],'unique':a937_0x75a668(0x9a),'allowNull':![]},'key':{'type':DataTypes['STRING'],'allowNull':![]},'remote':{'type':DataTypes[a937_0x75a668(0x95)],'allowNull':![]},'token':{'type':DataTypes[a937_0x75a668(0x95)],'defaultValue':function(){return rs['generate']();}},'phone':{'type':DataTypes[a937_0x75a668(0x95)]},'type':{'type':DataTypes[a937_0x75a668(0x9c)](a937_0x75a668(0x99))},'accountSid':{'type':DataTypes[a937_0x75a668(0x95)]},'authToken':{'type':DataTypes[a937_0x75a668(0x95)]},'notificationTemplate':{'type':DataTypes[a937_0x75a668(0x9e)],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':DataTypes[a937_0x75a668(0x9d)],'defaultValue':![]},'notificationShake':{'type':DataTypes[a937_0x75a668(0x9d)],'defaultValue':![]},'waitForTheAssignedAgent':{'type':DataTypes['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':DataTypes[a937_0x75a668(0x9d)],'defaultValue':![]},'queueTransferTimeout':{'type':DataTypes['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':DataTypes[a937_0x75a668(0x9d)],'defaultValue':![]},'agentTransferTimeout':{'type':DataTypes[a937_0x75a668(0x94)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':DataTypes['INTEGER'],'comment':a937_0x75a668(0x96)},'mandatoryDisposition':{'type':DataTypes[a937_0x75a668(0x9d)],'defaultValue':![],'comment':a937_0x75a668(0x97),'set':function(_0x47175b){!_0x47175b&&this['setDataValue']('mandatoryDispositionPauseId',null),this['setDataValue']('mandatoryDisposition',_0x47175b);}},'description':{'type':DataTypes['STRING']}};module[a937_0x75a668(0x98)][a937_0x75a668(0x93)]=attributes;
\ No newline at end of file