Built motion from commit (unavailable).|2.3.4
[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 _0xa74f=['request-promise','./cmCompany.attributes','exports','cm_companies','../../config/logger','bluebird'];(function(_0x3f4d7c,_0x2f1184){var _0x47bf26=function(_0x381cdf){while(--_0x381cdf){_0x3f4d7c['push'](_0x3f4d7c['shift']());}};_0x47bf26(++_0x2f1184);}(_0xa74f,0x9a));var _0xfa74=function(_0x5e2152,_0x172f3d){_0x5e2152=_0x5e2152-0x0;var _0x5ddcf6=_0xa74f[_0x5e2152];return _0x5ddcf6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xfa74('0x0'))('api');var moment=require('moment');var BPromise=require(_0xfa74('0x1'));var rp=require(_0xfa74('0x2'));var attributes=require(_0xfa74('0x3'));module[_0xfa74('0x4')]=function(_0x5b367b,_0x141625){return _0x5b367b['define']('CmCompany',attributes,{'tableName':_0xfa74('0x5'),'paranoid':![],'indexes':[],'timestamps':!![]});};