Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / api / whatsappInteraction / whatsappInteraction.model.js
index 313700f..93ff20a 100644 (file)
@@ -1 +1 @@
-const a796_0x10a7=['moment','./whatsappInteraction.attributes','closed','YYYY-MM-DD\x20HH:mm:ss','define','changed','WhatsappInteraction'];(function(_0x532e4e,_0x10a7a0){const _0x41cb43=function(_0x21b1cb){while(--_0x21b1cb){_0x532e4e['push'](_0x532e4e['shift']());}};_0x41cb43(++_0x10a7a0);}(a796_0x10a7,0xb8));const a796_0x41cb=function(_0x532e4e,_0x10a7a0){_0x532e4e=_0x532e4e-0x0;let _0x41cb43=a796_0x10a7[_0x532e4e];return _0x41cb43;};const _0x367e68=a796_0x41cb;'use strict';const moment=require(_0x367e68('0x5')),attributes=require(_0x367e68('0x6'));module['exports']=function(_0x21b1cb){const _0x20dd70=_0x367e68,_0x1ae9f8=_0x21b1cb[_0x20dd70('0x2')](_0x20dd70('0x4'),attributes,{'tableName':'whatsapp_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x54dc73){const _0x289d53=_0x20dd70;_0x54dc73[_0x289d53('0x3')](_0x289d53('0x0'))&&(_0x54dc73['closedAt']=moment()['format'](_0x289d53('0x1')));}}});return _0x1ae9f8;};
\ No newline at end of file
+const a796_0x1aa8=['./whatsappInteraction.attributes','closedAt','moment','changed','whatsapp_interactions','format','WhatsappInteraction','exports'];(function(_0x21a41f,_0x1aa858){const _0x32049f=function(_0x1aa653){while(--_0x1aa653){_0x21a41f['push'](_0x21a41f['shift']());}};_0x32049f(++_0x1aa858);}(a796_0x1aa8,0x10d));const a796_0x3204=function(_0x21a41f,_0x1aa858){_0x21a41f=_0x21a41f-0x0;let _0x32049f=a796_0x1aa8[_0x21a41f];return _0x32049f;};const _0x52c11c=a796_0x3204;'use strict';const moment=require(_0x52c11c('0x5')),attributes=require(_0x52c11c('0x3'));module[_0x52c11c('0x2')]=function(_0x1aa653){const _0x4c2d09=_0x52c11c,_0x1e3149=_0x1aa653['define'](_0x4c2d09('0x1'),attributes,{'tableName':_0x4c2d09('0x7'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x6b11cc){const _0x49cd66=_0x4c2d09;_0x6b11cc[_0x49cd66('0x6')]('closed')&&(_0x6b11cc[_0x49cd66('0x4')]=moment()[_0x49cd66('0x0')]('YYYY-MM-DD\x20HH:mm:ss'));}}});return _0x1e3149;};
\ No newline at end of file