7814fd9e408653e141b6750775dcaf55bcb386b5
[motion2.git] / server / api / squareMessage / squareMessage.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x93d4=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./squareMessage.attributes','exports','SquareMessage','square_messages','lodash','util'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x93d4,0x1ab));var _0x493d=function(_0x24c733,_0x145d1a){_0x24c733=_0x24c733-0x0;var _0x3e3da0=_0x93d4[_0x24c733];return _0x3e3da0;};'use strict';var _=require(_0x493d('0x0'));var util=require(_0x493d('0x1'));var logger=require(_0x493d('0x2'))(_0x493d('0x3'));var moment=require(_0x493d('0x4'));var BPromise=require('bluebird');var rp=require(_0x493d('0x5'));var fs=require('fs');var path=require(_0x493d('0x6'));var rimraf=require(_0x493d('0x7'));var config=require(_0x493d('0x8'));var attributes=require(_0x493d('0x9'));module[_0x493d('0xa')]=function(_0xd0a19b,_0x30a7a8){return _0xd0a19b['define'](_0x493d('0xb'),attributes,{'tableName':_0x493d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};