Built motion from commit (unavailable).|2.3.9
[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 _0x2341=['./squareMessage.attributes','define','SquareMessage','square_messages','lodash','api','moment','bluebird','request-promise'];(function(_0x14064a,_0xdc7bf0){var _0x4f993e=function(_0x5e9e3f){while(--_0x5e9e3f){_0x14064a['push'](_0x14064a['shift']());}};_0x4f993e(++_0xdc7bf0);}(_0x2341,0x124));var _0x1234=function(_0x4ea9f1,_0x4483ab){_0x4ea9f1=_0x4ea9f1-0x0;var _0x1e8097=_0x2341[_0x4ea9f1];return _0x1e8097;};'use strict';var _=require(_0x1234('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x1234('0x1'));var moment=require(_0x1234('0x2'));var BPromise=require(_0x1234('0x3'));var rp=require(_0x1234('0x4'));var attributes=require(_0x1234('0x5'));module['exports']=function(_0x16aa20,_0x46085c){return _0x16aa20[_0x1234('0x6')](_0x1234('0x7'),attributes,{'tableName':_0x1234('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};