1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x4f45=['OpenchannelAccount','openchannel_accounts','util','../../config/logger','api','bluebird','request-promise','path','define'];(function(_0x454178,_0x11890a){var _0x1866dc=function(_0x37d2d6){while(--_0x37d2d6){_0x454178['push'](_0x454178['shift']());}};_0x1866dc(++_0x11890a);}(_0x4f45,0x89));var _0x54f4=function(_0x26992e,_0x59c600){_0x26992e=_0x26992e-0x0;var _0x2aab59=_0x4f45[_0x26992e];return _0x2aab59;};'use strict';var _=require('lodash');var util=require(_0x54f4('0x0'));var logger=require(_0x54f4('0x1'))(_0x54f4('0x2'));var moment=require('moment');var BPromise=require(_0x54f4('0x3'));var rp=require(_0x54f4('0x4'));var fs=require('fs');var path=require(_0x54f4('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./openchannelAccount.attributes');module['exports']=function(_0x19923f,_0x316c8d){return _0x19923f[_0x54f4('0x6')](_0x54f4('0x7'),attributes,{'tableName':_0x54f4('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};