a0bcf4b4ffc1b24f69f8207e8524c807ebfad583
[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 _0x25fd=['rimraf','../../config/environment','./squareMessage.attributes','define','SquareMessage','square_messages','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x2ec461,_0x5f588a){var _0x28603d=function(_0x21114b){while(--_0x21114b){_0x2ec461['push'](_0x2ec461['shift']());}};_0x28603d(++_0x5f588a);}(_0x25fd,0x164));var _0xd25f=function(_0x8ba624,_0x42e30e){_0x8ba624=_0x8ba624-0x0;var _0x43940f=_0x25fd[_0x8ba624];return _0x43940f;};'use strict';var _=require(_0xd25f('0x0'));var util=require(_0xd25f('0x1'));var logger=require(_0xd25f('0x2'))(_0xd25f('0x3'));var moment=require(_0xd25f('0x4'));var BPromise=require(_0xd25f('0x5'));var rp=require(_0xd25f('0x6'));var fs=require('fs');var path=require(_0xd25f('0x7'));var rimraf=require(_0xd25f('0x8'));var config=require(_0xd25f('0x9'));var attributes=require(_0xd25f('0xa'));module['exports']=function(_0x31fc10,_0x19d715){return _0x31fc10[_0xd25f('0xb')](_0xd25f('0xc'),attributes,{'tableName':_0xd25f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};