12884bf51fb3fc651ae3897f2deed3693f1d4624
[motion2.git] / server / api / cmCompany / cmCompany.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x5d76=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','exports','CmCompany','lodash','util'];(function(_0x487c8f,_0x332921){var _0x675878=function(_0x559eed){while(--_0x559eed){_0x487c8f['push'](_0x487c8f['shift']());}};_0x675878(++_0x332921);}(_0x5d76,0x8d));var _0x65d7=function(_0x49471e,_0x319f36){_0x49471e=_0x49471e-0x0;var _0x113f10=_0x5d76[_0x49471e];return _0x113f10;};'use strict';var _=require(_0x65d7('0x0'));var util=require(_0x65d7('0x1'));var logger=require(_0x65d7('0x2'))(_0x65d7('0x3'));var moment=require(_0x65d7('0x4'));var BPromise=require(_0x65d7('0x5'));var rp=require(_0x65d7('0x6'));var fs=require('fs');var path=require(_0x65d7('0x7'));var rimraf=require(_0x65d7('0x8'));var config=require('../../config/environment');var attributes=require('./cmCompany.attributes');module[_0x65d7('0x9')]=function(_0x607192,_0x4d915d){return _0x607192['define'](_0x65d7('0xa'),attributes,{'tableName':'cm_companies','paranoid':![],'indexes':[],'timestamps':!![]});};