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 _0xfb8c=['CmCompany','cm_companies','util','moment','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x3e31fe,_0x164383){var _0x5c3442=function(_0xc41632){while(--_0xc41632){_0x3e31fe['push'](_0x3e31fe['shift']());}};_0x5c3442(++_0x164383);}(_0xfb8c,0x1cd));var _0xcfb8=function(_0x14aee6,_0x48cad0){_0x14aee6=_0x14aee6-0x0;var _0x1c6f4e=_0xfb8c[_0x14aee6];return _0x1c6f4e;};'use strict';var _=require('lodash');var util=require(_0xcfb8('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xcfb8('0x1'));var BPromise=require('bluebird');var rp=require(_0xcfb8('0x2'));var fs=require('fs');var path=require(_0xcfb8('0x3'));var rimraf=require(_0xcfb8('0x4'));var config=require(_0xcfb8('0x5'));var attributes=require('./cmCompany.attributes');module[_0xcfb8('0x6')]=function(_0x43feeb,_0x77b8be){return _0x43feeb['define'](_0xcfb8('0x7'),attributes,{'tableName':_0xcfb8('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};