Built motion from commit ce9a7520.|2.5.39
[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 _0xd90a=['CmCompany','lodash','util','../../config/logger','moment','bluebird','rimraf','./cmCompany.attributes','define'];(function(_0x4a9fb7,_0x4cbfd7){var _0x40b90e=function(_0x59664c){while(--_0x59664c){_0x4a9fb7['push'](_0x4a9fb7['shift']());}};_0x40b90e(++_0x4cbfd7);}(_0xd90a,0x133));var _0xad90=function(_0x756af5,_0x35834c){_0x756af5=_0x756af5-0x0;var _0x1e8aff=_0xd90a[_0x756af5];return _0x1e8aff;};'use strict';var _=require(_0xad90('0x0'));var util=require(_0xad90('0x1'));var logger=require(_0xad90('0x2'))('api');var moment=require(_0xad90('0x3'));var BPromise=require(_0xad90('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xad90('0x5'));var config=require('../../config/environment');var attributes=require(_0xad90('0x6'));module['exports']=function(_0x2fb21a,_0x3ede0b){return _0x2fb21a[_0xad90('0x7')](_0xad90('0x8'),attributes,{'tableName':'cm_companies','paranoid':![],'indexes':[],'timestamps':!![]});};