Built motion from commit 9d1906d1.|2.5.40
[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 _0x89b0=['SquareMessage','square_messages','lodash','util','api','moment','bluebird','request-promise','path','rimraf','./squareMessage.attributes','exports','define'];(function(_0x32f9ca,_0x1ea1c9){var _0x56b950=function(_0x2639d3){while(--_0x2639d3){_0x32f9ca['push'](_0x32f9ca['shift']());}};_0x56b950(++_0x1ea1c9);}(_0x89b0,0xdf));var _0x089b=function(_0x201755,_0x4ae02f){_0x201755=_0x201755-0x0;var _0x5bdd2b=_0x89b0[_0x201755];return _0x5bdd2b;};'use strict';var _=require(_0x089b('0x0'));var util=require(_0x089b('0x1'));var logger=require('../../config/logger')(_0x089b('0x2'));var moment=require(_0x089b('0x3'));var BPromise=require(_0x089b('0x4'));var rp=require(_0x089b('0x5'));var fs=require('fs');var path=require(_0x089b('0x6'));var rimraf=require(_0x089b('0x7'));var config=require('../../config/environment');var attributes=require(_0x089b('0x8'));module[_0x089b('0x9')]=function(_0x3a0025,_0x7b65d){return _0x3a0025[_0x089b('0xa')](_0x089b('0xb'),attributes,{'tableName':_0x089b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};