Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / api / cmHopper / cmHopper.attributes.js
index a91b0f8..06252f5 100644 (file)
@@ -1 +1 @@
-const a163_0x5593=['contactListQueue','STRING','sequelize','BOOLEAN','exports','INTEGER','format','DATE'];(function(_0x56d665,_0x4e62c1){const _0x5593c3=function(_0x32c2cc){while(--_0x32c2cc){_0x56d665['push'](_0x56d665['shift']());}};_0x5593c3(++_0x4e62c1);}(a163_0x5593,0xd2));const a163_0x32c2=function(_0x56d665,_0x4e62c1){_0x56d665=_0x56d665-0x148;let _0x5593c3=a163_0x5593[_0x56d665];return _0x5593c3;};const a163_0x1619eb=a163_0x32c2;'use strict';const moment=require('moment'),{DataTypes}=require(a163_0x1619eb(0x148)),attributes={'phone':{'type':DataTypes[a163_0x1619eb(0x14f)],'allowNull':![]},'active':{'type':DataTypes[a163_0x1619eb(0x149)],'defaultValue':![]},'scheduledat':{'type':DataTypes['DATE'],'defaultValue':moment()[a163_0x1619eb(0x14c)]('YYYY-MM-DD\x20HH:mm:ss')},'countbusyretry':{'type':DataTypes[a163_0x1619eb(0x14b)],'defaultValue':0x0},'countcongestionretry':{'type':DataTypes[a163_0x1619eb(0x14b)],'defaultValue':0x0},'countnoanswerretry':{'type':DataTypes[a163_0x1619eb(0x14b)],'defaultValue':0x0},'callback':{'type':DataTypes[a163_0x1619eb(0x149)],'defaultValue':![]},'callbackuniqueid':{'type':DataTypes[a163_0x1619eb(0x14f)],'defaultValue':null},'callbackat':{'type':DataTypes[a163_0x1619eb(0x14d)]},'priority':{'type':DataTypes[a163_0x1619eb(0x14b)]({'length':0x2})['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'ContactId':{'type':DataTypes[a163_0x1619eb(0x14b)],'unique':a163_0x1619eb(0x14e)},'ListId':{'type':DataTypes[a163_0x1619eb(0x14b)],'unique':a163_0x1619eb(0x14e)},'UserId':{'type':DataTypes[a163_0x1619eb(0x14b)]},'VoiceQueueId':{'type':DataTypes['INTEGER'],'unique':a163_0x1619eb(0x14e)},'CampaignId':{'type':DataTypes[a163_0x1619eb(0x14b)]},'countnosuchnumberretry':{'type':DataTypes['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':DataTypes[a163_0x1619eb(0x14b)],'defaultValue':0x0},'countabandonedretry':{'type':DataTypes[a163_0x1619eb(0x14b)],'defaultValue':0x0},'countmachineretry':{'type':DataTypes[a163_0x1619eb(0x14b)],'defaultValue':0x0},'countagentrejectretry':{'type':DataTypes[a163_0x1619eb(0x14b)],'defaultValue':0x0}};module[a163_0x1619eb(0x14a)]['attributes']=attributes;
\ No newline at end of file
+const a163_0x3fd9=['format','DATE','INTEGER','moment','UNSIGNED','BOOLEAN','YYYY-MM-DD\x20HH:mm:ss','contactListQueue','STRING'];(function(_0x5614b0,_0x5b60d6){const _0x3fd94=function(_0x4c4fd4){while(--_0x4c4fd4){_0x5614b0['push'](_0x5614b0['shift']());}};_0x3fd94(++_0x5b60d6);}(a163_0x3fd9,0x168));const a163_0x4c4f=function(_0x5614b0,_0x5b60d6){_0x5614b0=_0x5614b0-0x16e;let _0x3fd94=a163_0x3fd9[_0x5614b0];return _0x3fd94;};const a163_0x57f838=a163_0x4c4f;'use strict';const moment=require(a163_0x57f838(0x171)),{DataTypes}=require('sequelize'),attributes={'phone':{'type':DataTypes[a163_0x57f838(0x176)],'allowNull':![]},'active':{'type':DataTypes[a163_0x57f838(0x173)],'defaultValue':![]},'scheduledat':{'type':DataTypes[a163_0x57f838(0x16f)],'defaultValue':moment()[a163_0x57f838(0x16e)](a163_0x57f838(0x174))},'countbusyretry':{'type':DataTypes[a163_0x57f838(0x170)],'defaultValue':0x0},'countcongestionretry':{'type':DataTypes[a163_0x57f838(0x170)],'defaultValue':0x0},'countnoanswerretry':{'type':DataTypes[a163_0x57f838(0x170)],'defaultValue':0x0},'callback':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':DataTypes[a163_0x57f838(0x176)],'defaultValue':null},'callbackat':{'type':DataTypes[a163_0x57f838(0x16f)]},'priority':{'type':DataTypes[a163_0x57f838(0x170)]({'length':0x2})[a163_0x57f838(0x172)],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':DataTypes[a163_0x57f838(0x173)],'defaultValue':![]},'ContactId':{'type':DataTypes['INTEGER'],'unique':'contactListQueue'},'ListId':{'type':DataTypes['INTEGER'],'unique':a163_0x57f838(0x175)},'UserId':{'type':DataTypes[a163_0x57f838(0x170)]},'VoiceQueueId':{'type':DataTypes[a163_0x57f838(0x170)],'unique':a163_0x57f838(0x175)},'CampaignId':{'type':DataTypes[a163_0x57f838(0x170)]},'countnosuchnumberretry':{'type':DataTypes[a163_0x57f838(0x170)],'defaultValue':0x0},'countdropretry':{'type':DataTypes[a163_0x57f838(0x170)],'defaultValue':0x0},'countabandonedretry':{'type':DataTypes['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':DataTypes[a163_0x57f838(0x170)],'defaultValue':0x0},'countagentrejectretry':{'type':DataTypes['INTEGER'],'defaultValue':0x0}};module['exports']['attributes']=attributes;
\ No newline at end of file