Built motion from commit 1ea47bf4.|2.6.34
[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 _0x9bce=['define','SquareMessage','lodash','util','api','bluebird','request-promise','rimraf','../../config/environment','./squareMessage.attributes'];(function(_0x140616,_0x58bbb){var _0x165ba6=function(_0x3ba2bf){while(--_0x3ba2bf){_0x140616['push'](_0x140616['shift']());}};_0x165ba6(++_0x58bbb);}(_0x9bce,0xca));var _0xe9bc=function(_0x1e87f5,_0x59571c){_0x1e87f5=_0x1e87f5-0x0;var _0x2d03ac=_0x9bce[_0x1e87f5];return _0x2d03ac;};'use strict';var _=require(_0xe9bc('0x0'));var util=require(_0xe9bc('0x1'));var logger=require('../../config/logger')(_0xe9bc('0x2'));var moment=require('moment');var BPromise=require(_0xe9bc('0x3'));var rp=require(_0xe9bc('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe9bc('0x5'));var config=require(_0xe9bc('0x6'));var attributes=require(_0xe9bc('0x7'));module['exports']=function(_0x4641fb,_0x1d50f4){return _0x4641fb[_0xe9bc('0x8')](_0xe9bc('0x9'),attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};