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 _0x75a2=['../../config/environment','./cmCompany.attributes','exports','CmCompany','lodash','util','moment','bluebird','request-promise','path','rimraf'];(function(_0xef458c,_0x4ddf19){var _0x206f92=function(_0x2e8f3d){while(--_0x2e8f3d){_0xef458c['push'](_0xef458c['shift']());}};_0x206f92(++_0x4ddf19);}(_0x75a2,0x1f3));var _0x275a=function(_0x578ff8,_0x2622f5){_0x578ff8=_0x578ff8-0x0;var _0x1ffeef=_0x75a2[_0x578ff8];return _0x1ffeef;};'use strict';var _=require(_0x275a('0x0'));var util=require(_0x275a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x275a('0x2'));var BPromise=require(_0x275a('0x3'));var rp=require(_0x275a('0x4'));var fs=require('fs');var path=require(_0x275a('0x5'));var rimraf=require(_0x275a('0x6'));var config=require(_0x275a('0x7'));var attributes=require(_0x275a('0x8'));module[_0x275a('0x9')]=function(_0x19047a,_0x450d9b){return _0x19047a['define'](_0x275a('0xa'),attributes,{'tableName':'cm_companies','paranoid':![],'indexes':[],'timestamps':!![]});};