Built motion from commit e1760111.|2.6.18
[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 _0x16e8=['./cmCompany.attributes','exports','cm_companies','lodash','../../config/logger','api','bluebird','path','rimraf','../../config/environment'];(function(_0x18abd2,_0x22d4b3){var _0x1dcad6=function(_0xcc08c4){while(--_0xcc08c4){_0x18abd2['push'](_0x18abd2['shift']());}};_0x1dcad6(++_0x22d4b3);}(_0x16e8,0xcb));var _0x816e=function(_0x18033,_0x488726){_0x18033=_0x18033-0x0;var _0x195b0e=_0x16e8[_0x18033];return _0x195b0e;};'use strict';var _=require(_0x816e('0x0'));var util=require('util');var logger=require(_0x816e('0x1'))(_0x816e('0x2'));var moment=require('moment');var BPromise=require(_0x816e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x816e('0x4'));var rimraf=require(_0x816e('0x5'));var config=require(_0x816e('0x6'));var attributes=require(_0x816e('0x7'));module[_0x816e('0x8')]=function(_0x1ce6eb,_0x57368f){return _0x1ce6eb['define']('CmCompany',attributes,{'tableName':_0x816e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};