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 _0xfc3d=['api','bluebird','request-promise','path','rimraf','../../config/environment','exports','CmCompany','lodash','util','../../config/logger'];(function(_0x1d1779,_0x284147){var _0x2377e9=function(_0x299f6f){while(--_0x299f6f){_0x1d1779['push'](_0x1d1779['shift']());}};_0x2377e9(++_0x284147);}(_0xfc3d,0xa2));var _0xdfc3=function(_0x58d669,_0x2ed55c){_0x58d669=_0x58d669-0x0;var _0x1a4ea0=_0xfc3d[_0x58d669];return _0x1a4ea0;};'use strict';var _=require(_0xdfc3('0x0'));var util=require(_0xdfc3('0x1'));var logger=require(_0xdfc3('0x2'))(_0xdfc3('0x3'));var moment=require('moment');var BPromise=require(_0xdfc3('0x4'));var rp=require(_0xdfc3('0x5'));var fs=require('fs');var path=require(_0xdfc3('0x6'));var rimraf=require(_0xdfc3('0x7'));var config=require(_0xdfc3('0x8'));var attributes=require('./cmCompany.attributes');module[_0xdfc3('0x9')]=function(_0x1c2808,_0x1d66bb){return _0x1c2808['define'](_0xdfc3('0xa'),attributes,{'tableName':'cm_companies','paranoid':![],'indexes':[],'timestamps':!![]});};