Built motion from commit 092f8824.|2.5.49
[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 _0xbf81=['./intVtigerAccount.attributes','../../components/integrations/configuration','define','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x215b11,_0xf38206){var _0x32b490=function(_0x1d5c68){while(--_0x1d5c68){_0x215b11['push'](_0x215b11['shift']());}};_0x32b490(++_0xf38206);}(_0xbf81,0x175));var _0x1bf8=function(_0x1e2ee8,_0x51bb43){_0x1e2ee8=_0x1e2ee8-0x0;var _0x1134b5=_0xbf81[_0x1e2ee8];return _0x1134b5;};'use strict';var _=require('lodash');var util=require(_0x1bf8('0x0'));var logger=require('../../config/logger')(_0x1bf8('0x1'));var moment=require(_0x1bf8('0x2'));var BPromise=require(_0x1bf8('0x3'));var rp=require(_0x1bf8('0x4'));var fs=require('fs');var path=require(_0x1bf8('0x5'));var rimraf=require(_0x1bf8('0x6'));var config=require('../../config/environment');var attributes=require(_0x1bf8('0x7'));var integrations=require(_0x1bf8('0x8'));module['exports']=function(_0x2b523e,_0x3c57ab){return _0x2b523e[_0x1bf8('0x9')]('VtigerAccount',attributes,{'tableName':'int_vtiger_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};