Built motion from commit aab208717af8d15f4fa224cdb6a202877019af9b. Version 3.0.0...
[motion-next.git] / server / api / whatsappInteraction / whatsappInteraction.model.js
index f47d876..480b5eb 100644 (file)
@@ -1 +1 @@
-const a796_0x380d=['./whatsappInteraction.attributes','closedAt','closed','WhatsappInteraction','define','format'];(function(_0x33f263,_0x380d98){const _0x18d82d=function(_0x363b99){while(--_0x363b99){_0x33f263['push'](_0x33f263['shift']());}};_0x18d82d(++_0x380d98);}(a796_0x380d,0xdc));const a796_0x18d8=function(_0x33f263,_0x380d98){_0x33f263=_0x33f263-0x0;let _0x18d82d=a796_0x380d[_0x33f263];return _0x18d82d;};const _0x5bd31c=a796_0x18d8;'use strict';const moment=require('moment'),attributes=require(_0x5bd31c('0x2'));module['exports']=function(_0x363b99){const _0x1120df=_0x5bd31c,_0x30c886=_0x363b99[_0x1120df('0x0')](_0x1120df('0x5'),attributes,{'tableName':'whatsapp_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x3d1dd4){const _0x5e9838=_0x1120df;_0x3d1dd4['changed'](_0x5e9838('0x4'))&&(_0x3d1dd4[_0x5e9838('0x3')]=moment()[_0x5e9838('0x1')]('YYYY-MM-DD\x20HH:mm:ss'));}}});return _0x30c886;};
\ No newline at end of file
+const a796_0x3547=['changed','moment','format','YYYY-MM-DD\x20HH:mm:ss','closedAt','exports','whatsapp_interactions','closed','define'];(function(_0x521ca4,_0x3547b8){const _0x3436dd=function(_0x4f38bc){while(--_0x4f38bc){_0x521ca4['push'](_0x521ca4['shift']());}};_0x3436dd(++_0x3547b8);}(a796_0x3547,0x10d));const a796_0x3436=function(_0x521ca4,_0x3547b8){_0x521ca4=_0x521ca4-0x0;let _0x3436dd=a796_0x3547[_0x521ca4];return _0x3436dd;};const _0x4a894f=a796_0x3436;'use strict';const moment=require(_0x4a894f('0x2')),attributes=require('./whatsappInteraction.attributes');module[_0x4a894f('0x6')]=function(_0x4f38bc){const _0x1d266a=_0x4a894f,_0x8d9d4e=_0x4f38bc[_0x1d266a('0x0')]('WhatsappInteraction',attributes,{'tableName':_0x1d266a('0x7'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x196796){const _0x1c7405=_0x1d266a;_0x196796[_0x1c7405('0x1')](_0x1c7405('0x8'))&&(_0x196796[_0x1c7405('0x5')]=moment()[_0x1c7405('0x3')](_0x1c7405('0x4')));}}});return _0x8d9d4e;};
\ No newline at end of file