Built motion from commit (unavailable).|2.5.21
[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 _0x4944=['cm_companies','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','./cmCompany.attributes','exports','define','CmCompany'];(function(_0x1cbce8,_0x26ae0b){var _0xb150c4=function(_0x3ab6ba){while(--_0x3ab6ba){_0x1cbce8['push'](_0x1cbce8['shift']());}};_0xb150c4(++_0x26ae0b);}(_0x4944,0x6d));var _0x4494=function(_0x3baf1d,_0x17c22e){_0x3baf1d=_0x3baf1d-0x0;var _0x4161b8=_0x4944[_0x3baf1d];return _0x4161b8;};'use strict';var _=require(_0x4494('0x0'));var util=require('util');var logger=require(_0x4494('0x1'))(_0x4494('0x2'));var moment=require(_0x4494('0x3'));var BPromise=require(_0x4494('0x4'));var rp=require(_0x4494('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4494('0x6'));var config=require('../../config/environment');var attributes=require(_0x4494('0x7'));module[_0x4494('0x8')]=function(_0x38480d,_0xb94d02){return _0x38480d[_0x4494('0x9')](_0x4494('0xa'),attributes,{'tableName':_0x4494('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};