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 _0xf355=['api','moment','bluebird','request-promise','path','rimraf','./cmCompany.attributes','define','CmCompany','lodash'];(function(_0x1eafae,_0x581257){var _0x37cc60=function(_0x4b4aad){while(--_0x4b4aad){_0x1eafae['push'](_0x1eafae['shift']());}};_0x37cc60(++_0x581257);}(_0xf355,0x17b));var _0x5f35=function(_0x2411ea,_0x4e2188){_0x2411ea=_0x2411ea-0x0;var _0x4b9644=_0xf355[_0x2411ea];return _0x4b9644;};'use strict';var _=require(_0x5f35('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5f35('0x1'));var moment=require(_0x5f35('0x2'));var BPromise=require(_0x5f35('0x3'));var rp=require(_0x5f35('0x4'));var fs=require('fs');var path=require(_0x5f35('0x5'));var rimraf=require(_0x5f35('0x6'));var config=require('../../config/environment');var attributes=require(_0x5f35('0x7'));module['exports']=function(_0x2363c0,_0xbee771){return _0x2363c0[_0x5f35('0x8')](_0x5f35('0x9'),attributes,{'tableName':'cm_companies','paranoid':![],'indexes':[],'timestamps':!![]});};