e40f5d738b837e01bc4fee4ea47eb3befcd5f2ba
[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 _0x763e=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./cmCompany.attributes','define','CmCompany','cm_companies','lodash','util'];(function(_0x1be5ca,_0x4d5966){var _0x255754=function(_0xe270c2){while(--_0xe270c2){_0x1be5ca['push'](_0x1be5ca['shift']());}};_0x255754(++_0x4d5966);}(_0x763e,0x184));var _0xe763=function(_0x56072d,_0x187f3d){_0x56072d=_0x56072d-0x0;var _0x5ef918=_0x763e[_0x56072d];return _0x5ef918;};'use strict';var _=require(_0xe763('0x0'));var util=require(_0xe763('0x1'));var logger=require(_0xe763('0x2'))(_0xe763('0x3'));var moment=require(_0xe763('0x4'));var BPromise=require('bluebird');var rp=require(_0xe763('0x5'));var fs=require('fs');var path=require(_0xe763('0x6'));var rimraf=require(_0xe763('0x7'));var config=require(_0xe763('0x8'));var attributes=require(_0xe763('0x9'));module['exports']=function(_0x44bdd2,_0x5106a1){return _0x44bdd2[_0xe763('0xa')](_0xe763('0xb'),attributes,{'tableName':_0xe763('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};