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 _0x8eed=['request-promise','path','rimraf','../../config/environment','./cmCompany.attributes','exports','define','cm_companies','moment'];(function(_0x4adac9,_0x29cd19){var _0x187968=function(_0x289b54){while(--_0x289b54){_0x4adac9['push'](_0x4adac9['shift']());}};_0x187968(++_0x29cd19);}(_0x8eed,0x1c1));var _0xd8ee=function(_0x4dbe98,_0xcf2f41){_0x4dbe98=_0x4dbe98-0x0;var _0x5cd4fa=_0x8eed[_0x4dbe98];return _0x5cd4fa;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xd8ee('0x0'));var BPromise=require('bluebird');var rp=require(_0xd8ee('0x1'));var fs=require('fs');var path=require(_0xd8ee('0x2'));var rimraf=require(_0xd8ee('0x3'));var config=require(_0xd8ee('0x4'));var attributes=require(_0xd8ee('0x5'));module[_0xd8ee('0x6')]=function(_0x551422,_0x5e276f){return _0x551422[_0xd8ee('0x7')]('CmCompany',attributes,{'tableName':_0xd8ee('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};