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 _0x2fed=['exports','define','CmCompany','cm_companies','lodash','util','../../config/logger','api','moment','request-promise','path','./cmCompany.attributes'];(function(_0x530909,_0x375f07){var _0x2b3e57=function(_0x3a1094){while(--_0x3a1094){_0x530909['push'](_0x530909['shift']());}};_0x2b3e57(++_0x375f07);}(_0x2fed,0x7c));var _0xd2fe=function(_0x5109e1,_0x58b882){_0x5109e1=_0x5109e1-0x0;var _0x25e7b9=_0x2fed[_0x5109e1];return _0x25e7b9;};'use strict';var _=require(_0xd2fe('0x0'));var util=require(_0xd2fe('0x1'));var logger=require(_0xd2fe('0x2'))(_0xd2fe('0x3'));var moment=require(_0xd2fe('0x4'));var BPromise=require('bluebird');var rp=require(_0xd2fe('0x5'));var fs=require('fs');var path=require(_0xd2fe('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xd2fe('0x7'));module[_0xd2fe('0x8')]=function(_0xd85f89,_0x5be4d3){return _0xd85f89[_0xd2fe('0x9')](_0xd2fe('0xa'),attributes,{'tableName':_0xd2fe('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};