0309eef186a9768a7464836b941689682adb5e7d
[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 _0x432f=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareMessage.attributes','exports','define','square_messages','lodash'];(function(_0x5719d4,_0x10ebb3){var _0x128cc9=function(_0x1c874e){while(--_0x1c874e){_0x5719d4['push'](_0x5719d4['shift']());}};_0x128cc9(++_0x10ebb3);}(_0x432f,0xb5));var _0xf432=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x432f[_0x3b380d];return _0x54502b;};'use strict';var _=require(_0xf432('0x0'));var util=require(_0xf432('0x1'));var logger=require(_0xf432('0x2'))(_0xf432('0x3'));var moment=require(_0xf432('0x4'));var BPromise=require(_0xf432('0x5'));var rp=require(_0xf432('0x6'));var fs=require('fs');var path=require(_0xf432('0x7'));var rimraf=require(_0xf432('0x8'));var config=require(_0xf432('0x9'));var attributes=require(_0xf432('0xa'));module[_0xf432('0xb')]=function(_0x5664d6,_0x3de960){return _0x5664d6[_0xf432('0xc')]('SquareMessage',attributes,{'tableName':_0xf432('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};