b266350fcacf1bfa21878ad8ac314eda0c1eac78
[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 _0xe5f7=['exports','define','OpenchannelAccount','openchannel_accounts','lodash','util','../../config/logger','api','request-promise','path','rimraf','./openchannelAccount.attributes'];(function(_0x4db1d8,_0x10a43e){var _0x347e39=function(_0x3a1a9b){while(--_0x3a1a9b){_0x4db1d8['push'](_0x4db1d8['shift']());}};_0x347e39(++_0x10a43e);}(_0xe5f7,0x178));var _0x7e5f=function(_0x65bf55,_0x2b2773){_0x65bf55=_0x65bf55-0x0;var _0x233ea1=_0xe5f7[_0x65bf55];return _0x233ea1;};'use strict';var _=require(_0x7e5f('0x0'));var util=require(_0x7e5f('0x1'));var logger=require(_0x7e5f('0x2'))(_0x7e5f('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x7e5f('0x4'));var fs=require('fs');var path=require(_0x7e5f('0x5'));var rimraf=require(_0x7e5f('0x6'));var config=require('../../config/environment');var attributes=require(_0x7e5f('0x7'));module[_0x7e5f('0x8')]=function(_0x5ba513,_0x1a6abb){return _0x5ba513[_0x7e5f('0x9')](_0x7e5f('0xa'),attributes,{'tableName':_0x7e5f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};