Built motion from commit 3c2ce842.|2.6.31
[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 _0x7cc0=['api','bluebird','request-promise','path','rimraf','./squareMessage.attributes','define','util','../../config/logger'];(function(_0x1f6813,_0x25bc78){var _0x5966df=function(_0x397eaa){while(--_0x397eaa){_0x1f6813['push'](_0x1f6813['shift']());}};_0x5966df(++_0x25bc78);}(_0x7cc0,0x1a5));var _0x07cc=function(_0x2c101a,_0x5d1266){_0x2c101a=_0x2c101a-0x0;var _0x5b16f9=_0x7cc0[_0x2c101a];return _0x5b16f9;};'use strict';var _=require('lodash');var util=require(_0x07cc('0x0'));var logger=require(_0x07cc('0x1'))(_0x07cc('0x2'));var moment=require('moment');var BPromise=require(_0x07cc('0x3'));var rp=require(_0x07cc('0x4'));var fs=require('fs');var path=require(_0x07cc('0x5'));var rimraf=require(_0x07cc('0x6'));var config=require('../../config/environment');var attributes=require(_0x07cc('0x7'));module['exports']=function(_0x1f05de,_0x178593){return _0x1f05de[_0x07cc('0x8')]('SquareMessage',attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};