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 _0x220b=['bluebird','request-promise','path','rimraf','./cmCompany.attributes','exports','define','cm_companies','util','../../config/logger'];(function(_0x34a5ce,_0x2ca08f){var _0x5447c4=function(_0x450e0d){while(--_0x450e0d){_0x34a5ce['push'](_0x34a5ce['shift']());}};_0x5447c4(++_0x2ca08f);}(_0x220b,0x1b6));var _0xb220=function(_0xa1e3e3,_0x29fe0e){_0xa1e3e3=_0xa1e3e3-0x0;var _0xc980e9=_0x220b[_0xa1e3e3];return _0xc980e9;};'use strict';var _=require('lodash');var util=require(_0xb220('0x0'));var logger=require(_0xb220('0x1'))('api');var moment=require('moment');var BPromise=require(_0xb220('0x2'));var rp=require(_0xb220('0x3'));var fs=require('fs');var path=require(_0xb220('0x4'));var rimraf=require(_0xb220('0x5'));var config=require('../../config/environment');var attributes=require(_0xb220('0x6'));module[_0xb220('0x7')]=function(_0x4b8d34,_0x42f411){return _0x4b8d34[_0xb220('0x8')]('CmCompany',attributes,{'tableName':_0xb220('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};