Built motion from commit 85328c08.|2.5.50
[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 _0xde87=['bluebird','request-promise','rimraf','../../config/environment','./intVtigerAccount.attributes','exports','define','VtigerAccount','lodash','util','../../config/logger','moment'];(function(_0x28adc2,_0x5c55ab){var _0x532b3d=function(_0x399964){while(--_0x399964){_0x28adc2['push'](_0x28adc2['shift']());}};_0x532b3d(++_0x5c55ab);}(_0xde87,0x1dc));var _0x7de8=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xde87[_0x21a9d9];return _0x46adce;};'use strict';var _=require(_0x7de8('0x0'));var util=require(_0x7de8('0x1'));var logger=require(_0x7de8('0x2'))('api');var moment=require(_0x7de8('0x3'));var BPromise=require(_0x7de8('0x4'));var rp=require(_0x7de8('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7de8('0x6'));var config=require(_0x7de8('0x7'));var attributes=require(_0x7de8('0x8'));var integrations=require('../../components/integrations/configuration');module[_0x7de8('0x9')]=function(_0x3e4d17,_0x1fc5cb){return _0x3e4d17[_0x7de8('0xa')](_0x7de8('0xb'),attributes,{'tableName':'int_vtiger_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};