Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / openchannelAccount / openchannelAccount.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 _0xef3e=['request-promise','path','rimraf','./openchannelAccount.attributes','exports','define','OpenchannelAccount','openchannel_accounts','lodash','api','moment','bluebird'];(function(_0xf563d8,_0x7e7303){var _0x529a15=function(_0x47eb0e){while(--_0x47eb0e){_0xf563d8['push'](_0xf563d8['shift']());}};_0x529a15(++_0x7e7303);}(_0xef3e,0x17c));var _0xeef3=function(_0x231e16,_0x67347b){_0x231e16=_0x231e16-0x0;var _0x570a7c=_0xef3e[_0x231e16];return _0x570a7c;};'use strict';var _=require(_0xeef3('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xeef3('0x1'));var moment=require(_0xeef3('0x2'));var BPromise=require(_0xeef3('0x3'));var rp=require(_0xeef3('0x4'));var fs=require('fs');var path=require(_0xeef3('0x5'));var rimraf=require(_0xeef3('0x6'));var config=require('../../config/environment');var attributes=require(_0xeef3('0x7'));module[_0xeef3('0x8')]=function(_0x4065a4,_0x105be7){return _0x4065a4[_0xeef3('0x9')](_0xeef3('0xa'),attributes,{'tableName':_0xeef3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};