f03dc848ccd2d832c591045641209010de414749
[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 _0x253c=['request-promise','path','rimraf','../../config/environment','./squareMessage.attributes','SquareMessage','square_messages','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x149f76,_0x2bae06){var _0x3d69db=function(_0x4bbb1a){while(--_0x4bbb1a){_0x149f76['push'](_0x149f76['shift']());}};_0x3d69db(++_0x2bae06);}(_0x253c,0x13f));var _0xc253=function(_0x2a4dda,_0x394a1b){_0x2a4dda=_0x2a4dda-0x0;var _0xe725e=_0x253c[_0x2a4dda];return _0xe725e;};'use strict';var _=require(_0xc253('0x0'));var util=require(_0xc253('0x1'));var logger=require(_0xc253('0x2'))(_0xc253('0x3'));var moment=require(_0xc253('0x4'));var BPromise=require(_0xc253('0x5'));var rp=require(_0xc253('0x6'));var fs=require('fs');var path=require(_0xc253('0x7'));var rimraf=require(_0xc253('0x8'));var config=require(_0xc253('0x9'));var attributes=require(_0xc253('0xa'));module['exports']=function(_0xfc59d7,_0x10ef82){return _0xfc59d7['define'](_0xc253('0xb'),attributes,{'tableName':_0xc253('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};