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 _0x10cc=['cm_companies','lodash','moment','request-promise','path','rimraf','./cmCompany.attributes','exports','define','CmCompany'];(function(_0x4ef48d,_0x373152){var _0x1e9115=function(_0xa99fb6){while(--_0xa99fb6){_0x4ef48d['push'](_0x4ef48d['shift']());}};_0x1e9115(++_0x373152);}(_0x10cc,0x6f));var _0xc10c=function(_0x1e7600,_0x11348d){_0x1e7600=_0x1e7600-0x0;var _0x80b052=_0x10cc[_0x1e7600];return _0x80b052;};'use strict';var _=require(_0xc10c('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xc10c('0x1'));var BPromise=require('bluebird');var rp=require(_0xc10c('0x2'));var fs=require('fs');var path=require(_0xc10c('0x3'));var rimraf=require(_0xc10c('0x4'));var config=require('../../config/environment');var attributes=require(_0xc10c('0x5'));module[_0xc10c('0x6')]=function(_0x482cc2,_0x3a9e2f){return _0x482cc2[_0xc10c('0x7')](_0xc10c('0x8'),attributes,{'tableName':_0xc10c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};