Built motion from commit (unavailable).|2.5.20
[motion2.git] / server / api / intVtigerAccount / intVtigerAccount.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 _0xff67=['./intVtigerAccount.attributes','exports','VtigerAccount','int_vtiger_accounts','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x148c09,_0x4fd39f){var _0x18e613=function(_0xfaa810){while(--_0xfaa810){_0x148c09['push'](_0x148c09['shift']());}};_0x18e613(++_0x4fd39f);}(_0xff67,0x138));var _0x7ff6=function(_0x1ea8f5,_0x21afeb){_0x1ea8f5=_0x1ea8f5-0x0;var _0x9a173d=_0xff67[_0x1ea8f5];return _0x9a173d;};'use strict';var _=require('lodash');var util=require(_0x7ff6('0x0'));var logger=require(_0x7ff6('0x1'))('api');var moment=require('moment');var BPromise=require(_0x7ff6('0x2'));var rp=require(_0x7ff6('0x3'));var fs=require('fs');var path=require(_0x7ff6('0x4'));var rimraf=require(_0x7ff6('0x5'));var config=require(_0x7ff6('0x6'));var attributes=require(_0x7ff6('0x7'));var integrations=require('../../components/integrations/configuration');module[_0x7ff6('0x8')]=function(_0x507ad9,_0x2baf80){return _0x507ad9['define'](_0x7ff6('0x9'),attributes,{'tableName':_0x7ff6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};