ec788dcfa6b8a6ddc387ef0e19dae93db78ed687
[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 _0x01a3=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./cmCompany.attributes','exports','CmCompany','cm_companies'];(function(_0xc4cb58,_0x3bac56){var _0x1e68d7=function(_0xeba53d){while(--_0xeba53d){_0xc4cb58['push'](_0xc4cb58['shift']());}};_0x1e68d7(++_0x3bac56);}(_0x01a3,0x9c));var _0x301a=function(_0x2ec688,_0x436cd5){_0x2ec688=_0x2ec688-0x0;var _0x1f9b88=_0x01a3[_0x2ec688];return _0x1f9b88;};'use strict';var _=require(_0x301a('0x0'));var util=require(_0x301a('0x1'));var logger=require(_0x301a('0x2'))(_0x301a('0x3'));var moment=require(_0x301a('0x4'));var BPromise=require(_0x301a('0x5'));var rp=require(_0x301a('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x301a('0x7'));var config=require('../../config/environment');var attributes=require(_0x301a('0x8'));module[_0x301a('0x9')]=function(_0x2c6637,_0x56263d){return _0x2c6637['define'](_0x301a('0xa'),attributes,{'tableName':_0x301a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};