439b2627626aa15e0c48f7365a80d92f71af95b2
[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 _0x6bf8=['./squareMessage.attributes','SquareMessage','square_messages','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x5628ec,_0x115e97){var _0xfcbf2=function(_0x2fb47a){while(--_0x2fb47a){_0x5628ec['push'](_0x5628ec['shift']());}};_0xfcbf2(++_0x115e97);}(_0x6bf8,0x183));var _0x86bf=function(_0x211397,_0x52b103){_0x211397=_0x211397-0x0;var _0x3df56c=_0x6bf8[_0x211397];return _0x3df56c;};'use strict';var _=require(_0x86bf('0x0'));var util=require(_0x86bf('0x1'));var logger=require(_0x86bf('0x2'))('api');var moment=require(_0x86bf('0x3'));var BPromise=require(_0x86bf('0x4'));var rp=require(_0x86bf('0x5'));var fs=require('fs');var path=require(_0x86bf('0x6'));var rimraf=require(_0x86bf('0x7'));var config=require(_0x86bf('0x8'));var attributes=require(_0x86bf('0x9'));module['exports']=function(_0x2ec6cc,_0xe034fe){return _0x2ec6cc['define'](_0x86bf('0xa'),attributes,{'tableName':_0x86bf('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};