Built motion from commit (unavailable).|2.5.17
[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 _0x2fed=['exports','define','CmCompany','cm_companies','lodash','util','../../config/logger','api','moment','request-promise','path','./cmCompany.attributes'];(function(_0x5d7834,_0x17e335){var _0x375929=function(_0x3334ea){while(--_0x3334ea){_0x5d7834['push'](_0x5d7834['shift']());}};_0x375929(++_0x17e335);}(_0x2fed,0x7c));var _0xd2fe=function(_0x256fe0,_0x401c93){_0x256fe0=_0x256fe0-0x0;var _0x32f906=_0x2fed[_0x256fe0];return _0x32f906;};'use strict';var _=require(_0xd2fe('0x0'));var util=require(_0xd2fe('0x1'));var logger=require(_0xd2fe('0x2'))(_0xd2fe('0x3'));var moment=require(_0xd2fe('0x4'));var BPromise=require('bluebird');var rp=require(_0xd2fe('0x5'));var fs=require('fs');var path=require(_0xd2fe('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xd2fe('0x7'));module[_0xd2fe('0x8')]=function(_0xd85f89,_0x5be4d3){return _0xd85f89[_0xd2fe('0x9')](_0xd2fe('0xa'),attributes,{'tableName':_0xd2fe('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};