ed07f44b08f5735a15050efc56ba23ad91c85621
[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 _0x72a6=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelAccount.attributes','exports','OpenchannelAccount','openchannel_accounts','lodash','util'];(function(_0x4aac5a,_0x15b04c){var _0x42e7bc=function(_0x1da766){while(--_0x1da766){_0x4aac5a['push'](_0x4aac5a['shift']());}};_0x42e7bc(++_0x15b04c);}(_0x72a6,0x1d2));var _0x672a=function(_0x58287f,_0x9f4265){_0x58287f=_0x58287f-0x0;var _0x5e3fbc=_0x72a6[_0x58287f];return _0x5e3fbc;};'use strict';var _=require(_0x672a('0x0'));var util=require(_0x672a('0x1'));var logger=require(_0x672a('0x2'))('api');var moment=require(_0x672a('0x3'));var BPromise=require(_0x672a('0x4'));var rp=require(_0x672a('0x5'));var fs=require('fs');var path=require(_0x672a('0x6'));var rimraf=require(_0x672a('0x7'));var config=require(_0x672a('0x8'));var attributes=require(_0x672a('0x9'));module[_0x672a('0xa')]=function(_0x444499,_0x213081){return _0x444499['define'](_0x672a('0xb'),attributes,{'tableName':_0x672a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};