ac0b9d37c16f3e5d16c32bdfd523e40dba9ef1c0
[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 _0x174a=['request-promise','path','rimraf','../../config/environment','CmCompany','cm_companies','lodash','../../config/logger','api','bluebird'];(function(_0x54c695,_0x5d6677){var _0x3ce06b=function(_0x55bdf1){while(--_0x55bdf1){_0x54c695['push'](_0x54c695['shift']());}};_0x3ce06b(++_0x5d6677);}(_0x174a,0x18c));var _0xa174=function(_0x33c733,_0x93fc5c){_0x33c733=_0x33c733-0x0;var _0x264f6b=_0x174a[_0x33c733];return _0x264f6b;};'use strict';var _=require(_0xa174('0x0'));var util=require('util');var logger=require(_0xa174('0x1'))(_0xa174('0x2'));var moment=require('moment');var BPromise=require(_0xa174('0x3'));var rp=require(_0xa174('0x4'));var fs=require('fs');var path=require(_0xa174('0x5'));var rimraf=require(_0xa174('0x6'));var config=require(_0xa174('0x7'));var attributes=require('./cmCompany.attributes');module['exports']=function(_0xfdeb2,_0x598dda){return _0xfdeb2['define'](_0xa174('0x8'),attributes,{'tableName':_0xa174('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};