3551b744735c48d1d9336e1e81d9835356a0fb54
[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 _0x7ef0=['request-promise','path','rimraf','../../config/environment','exports','int_vtiger_accounts','lodash','moment','bluebird'];(function(_0xe605fb,_0x3e3eef){var _0x9a845d=function(_0x3dfd91){while(--_0x3dfd91){_0xe605fb['push'](_0xe605fb['shift']());}};_0x9a845d(++_0x3e3eef);}(_0x7ef0,0xe7));var _0x07ef=function(_0x5ee8af,_0x55d492){_0x5ee8af=_0x5ee8af-0x0;var _0x2c7b53=_0x7ef0[_0x5ee8af];return _0x2c7b53;};'use strict';var _=require(_0x07ef('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x07ef('0x1'));var BPromise=require(_0x07ef('0x2'));var rp=require(_0x07ef('0x3'));var fs=require('fs');var path=require(_0x07ef('0x4'));var rimraf=require(_0x07ef('0x5'));var config=require(_0x07ef('0x6'));var attributes=require('./intVtigerAccount.attributes');var integrations=require('../../components/integrations/configuration');module[_0x07ef('0x7')]=function(_0x21a31b,_0x53b2b5){return _0x21a31b['define']('VtigerAccount',attributes,{'tableName':_0x07ef('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};