f926160bad368c576dc0dc83ea18fc2daf976b4a
[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 _0x13c6=['../../config/environment','./squareMessage.attributes','define','SquareMessage','square_messages','lodash','util','../../config/logger','api','moment','bluebird','rimraf'];(function(_0x2f6b18,_0x3f50af){var _0x275599=function(_0x4d1ac9){while(--_0x4d1ac9){_0x2f6b18['push'](_0x2f6b18['shift']());}};_0x275599(++_0x3f50af);}(_0x13c6,0xd1));var _0x613c=function(_0x35a8bc,_0x1933af){_0x35a8bc=_0x35a8bc-0x0;var _0x9a52f2=_0x13c6[_0x35a8bc];return _0x9a52f2;};'use strict';var _=require(_0x613c('0x0'));var util=require(_0x613c('0x1'));var logger=require(_0x613c('0x2'))(_0x613c('0x3'));var moment=require(_0x613c('0x4'));var BPromise=require(_0x613c('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x613c('0x6'));var config=require(_0x613c('0x7'));var attributes=require(_0x613c('0x8'));module['exports']=function(_0x1cfd29,_0x261100){return _0x1cfd29[_0x613c('0x9')](_0x613c('0xa'),attributes,{'tableName':_0x613c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};