Built motion from commit b5996064.|2.6.21
[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 _0xbf2b=['../../config/environment','./cmCompany.attributes','define','CmCompany','cm_companies','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x5916c6,_0x329433){var _0x4389d3=function(_0x7d6959){while(--_0x7d6959){_0x5916c6['push'](_0x5916c6['shift']());}};_0x4389d3(++_0x329433);}(_0xbf2b,0x12e));var _0xbbf2=function(_0x151514,_0x546cd2){_0x151514=_0x151514-0x0;var _0x73b4b8=_0xbf2b[_0x151514];return _0x73b4b8;};'use strict';var _=require('lodash');var util=require(_0xbbf2('0x0'));var logger=require(_0xbbf2('0x1'))('api');var moment=require(_0xbbf2('0x2'));var BPromise=require(_0xbbf2('0x3'));var rp=require(_0xbbf2('0x4'));var fs=require('fs');var path=require(_0xbbf2('0x5'));var rimraf=require('rimraf');var config=require(_0xbbf2('0x6'));var attributes=require(_0xbbf2('0x7'));module['exports']=function(_0x1ae1cc,_0x2539b7){return _0x1ae1cc[_0xbbf2('0x8')](_0xbbf2('0x9'),attributes,{'tableName':_0xbbf2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};