Built motion from commit 19a84241.|2.5.34
[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 _0xc6e5=['./cmCompany.attributes','exports','CmCompany','cm_companies','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment'];(function(_0x4ae645,_0x50f800){var _0x3e3af9=function(_0x208b78){while(--_0x208b78){_0x4ae645['push'](_0x4ae645['shift']());}};_0x3e3af9(++_0x50f800);}(_0xc6e5,0x13c));var _0x5c6e=function(_0x5e029c,_0x391266){_0x5e029c=_0x5e029c-0x0;var _0x1f4d02=_0xc6e5[_0x5e029c];return _0x1f4d02;};'use strict';var _=require(_0x5c6e('0x0'));var util=require(_0x5c6e('0x1'));var logger=require(_0x5c6e('0x2'))(_0x5c6e('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5c6e('0x4'));var fs=require('fs');var path=require(_0x5c6e('0x5'));var rimraf=require(_0x5c6e('0x6'));var config=require(_0x5c6e('0x7'));var attributes=require(_0x5c6e('0x8'));module[_0x5c6e('0x9')]=function(_0x30d086,_0xe680ba){return _0x30d086['define'](_0x5c6e('0xa'),attributes,{'tableName':_0x5c6e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};