Built motion from commit (unavailable).|2.4.20
[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 _0x903e=['./squareMessage.attributes','exports','define','SquareMessage','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0xfcd861,_0x2ac3b6){var _0x583707=function(_0x26fe1a){while(--_0x26fe1a){_0xfcd861['push'](_0xfcd861['shift']());}};_0x583707(++_0x2ac3b6);}(_0x903e,0x1cb));var _0xe903=function(_0x2b45b5,_0x474458){_0x2b45b5=_0x2b45b5-0x0;var _0x1d9c06=_0x903e[_0x2b45b5];return _0x1d9c06;};'use strict';var _=require(_0xe903('0x0'));var util=require(_0xe903('0x1'));var logger=require(_0xe903('0x2'))(_0xe903('0x3'));var moment=require(_0xe903('0x4'));var BPromise=require(_0xe903('0x5'));var rp=require(_0xe903('0x6'));var fs=require('fs');var path=require(_0xe903('0x7'));var rimraf=require(_0xe903('0x8'));var config=require('../../config/environment');var attributes=require(_0xe903('0x9'));module[_0xe903('0xa')]=function(_0x33e72b,_0x23e47c){return _0x33e72b[_0xe903('0xb')](_0xe903('0xc'),attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};