Built motion from commit 85328c08.|2.5.50
[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 _0xcd95=['path','rimraf','../../config/environment','./squareMessage.attributes','exports','define','lodash','util','../../config/logger','moment','request-promise'];(function(_0x7ee0af,_0x53253a){var _0x4e8458=function(_0x5a5e5e){while(--_0x5a5e5e){_0x7ee0af['push'](_0x7ee0af['shift']());}};_0x4e8458(++_0x53253a);}(_0xcd95,0x145));var _0x5cd9=function(_0x29d4b5,_0x1913e2){_0x29d4b5=_0x29d4b5-0x0;var _0x3fbb01=_0xcd95[_0x29d4b5];return _0x3fbb01;};'use strict';var _=require(_0x5cd9('0x0'));var util=require(_0x5cd9('0x1'));var logger=require(_0x5cd9('0x2'))('api');var moment=require(_0x5cd9('0x3'));var BPromise=require('bluebird');var rp=require(_0x5cd9('0x4'));var fs=require('fs');var path=require(_0x5cd9('0x5'));var rimraf=require(_0x5cd9('0x6'));var config=require(_0x5cd9('0x7'));var attributes=require(_0x5cd9('0x8'));module[_0x5cd9('0x9')]=function(_0x53085e,_0x275669){return _0x53085e[_0x5cd9('0xa')]('SquareMessage',attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};