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 _0xe076=['request-promise','./squareMessage.attributes','square_messages','lodash','../../config/logger','api','moment','bluebird'];(function(_0x4e4f0e,_0x1c3892){var _0x1a7219=function(_0x3821ad){while(--_0x3821ad){_0x4e4f0e['push'](_0x4e4f0e['shift']());}};_0x1a7219(++_0x1c3892);}(_0xe076,0x143));var _0x6e07=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0xe076[_0xbb091];return _0x467a04;};'use strict';var _=require(_0x6e07('0x0'));var util=require('util');var logger=require(_0x6e07('0x1'))(_0x6e07('0x2'));var moment=require(_0x6e07('0x3'));var BPromise=require(_0x6e07('0x4'));var rp=require(_0x6e07('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6e07('0x6'));module['exports']=function(_0x1714d6,_0x50486b){return _0x1714d6['define']('SquareMessage',attributes,{'tableName':_0x6e07('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};