Built motion from commit (unavailable).|2.4.18
[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 _0x49bc=['square_messages','util','../../config/logger','api','request-promise','../../config/environment','./squareMessage.attributes','exports','SquareMessage'];(function(_0x301be2,_0x5c87cf){var _0x45b4aa=function(_0x1b2ab7){while(--_0x1b2ab7){_0x301be2['push'](_0x301be2['shift']());}};_0x45b4aa(++_0x5c87cf);}(_0x49bc,0x1b1));var _0xc49b=function(_0x51970a,_0x5ab3b7){_0x51970a=_0x51970a-0x0;var _0x3e7380=_0x49bc[_0x51970a];return _0x3e7380;};'use strict';var _=require('lodash');var util=require(_0xc49b('0x0'));var logger=require(_0xc49b('0x1'))(_0xc49b('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xc49b('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xc49b('0x4'));var attributes=require(_0xc49b('0x5'));module[_0xc49b('0x6')]=function(_0x534827,_0x21b0b6){return _0x534827['define'](_0xc49b('0x7'),attributes,{'tableName':_0xc49b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};