d62f609bb022cb457b890b81ebc6a6e61c76fbb1
[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 _0x0b19=['../../config/environment','./squareMessage.attributes','exports','define','SquareMessage','square_messages','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0x591fc7,_0x40c3e6){var _0x59b7a2=function(_0x56df2d){while(--_0x56df2d){_0x591fc7['push'](_0x591fc7['shift']());}};_0x59b7a2(++_0x40c3e6);}(_0x0b19,0x1a6));var _0x90b1=function(_0x9efe0,_0x1e7272){_0x9efe0=_0x9efe0-0x0;var _0x232a0f=_0x0b19[_0x9efe0];return _0x232a0f;};'use strict';var _=require(_0x90b1('0x0'));var util=require(_0x90b1('0x1'));var logger=require('../../config/logger')(_0x90b1('0x2'));var moment=require(_0x90b1('0x3'));var BPromise=require('bluebird');var rp=require(_0x90b1('0x4'));var fs=require('fs');var path=require(_0x90b1('0x5'));var rimraf=require(_0x90b1('0x6'));var config=require(_0x90b1('0x7'));var attributes=require(_0x90b1('0x8'));module[_0x90b1('0x9')]=function(_0x3e1c36,_0x5a90ff){return _0x3e1c36[_0x90b1('0xa')](_0x90b1('0xb'),attributes,{'tableName':_0x90b1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};