Built motion from commit (unavailable).|2.5.8
[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 _0xb7ef=['request-promise','path','rimraf','../../config/environment','./intVtigerAccount.attributes','exports','define','VtigerAccount','int_vtiger_accounts','util','../../config/logger','api','bluebird'];(function(_0x246e6e,_0x285c23){var _0x318617=function(_0x8fe716){while(--_0x8fe716){_0x246e6e['push'](_0x246e6e['shift']());}};_0x318617(++_0x285c23);}(_0xb7ef,0x19c));var _0xfb7e=function(_0x5cc7dc,_0x1bf2e4){_0x5cc7dc=_0x5cc7dc-0x0;var _0x43a6f5=_0xb7ef[_0x5cc7dc];return _0x43a6f5;};'use strict';var _=require('lodash');var util=require(_0xfb7e('0x0'));var logger=require(_0xfb7e('0x1'))(_0xfb7e('0x2'));var moment=require('moment');var BPromise=require(_0xfb7e('0x3'));var rp=require(_0xfb7e('0x4'));var fs=require('fs');var path=require(_0xfb7e('0x5'));var rimraf=require(_0xfb7e('0x6'));var config=require(_0xfb7e('0x7'));var attributes=require(_0xfb7e('0x8'));var integrations=require('../../components/integrations/configuration');module[_0xfb7e('0x9')]=function(_0x5626f5,_0x5eeca1){return _0x5626f5[_0xfb7e('0xa')](_0xfb7e('0xb'),attributes,{'tableName':_0xfb7e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};