ba7ed222ef74b699d6c01bf9d1497766a12166e0
[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 _0xa9bf=['./intVtigerAccount.attributes','../../components/integrations/configuration','exports','define','VtigerAccount','int_vtiger_accounts','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x4f0f32,_0x5f4739){var _0x40dcd4=function(_0x40591e){while(--_0x40591e){_0x4f0f32['push'](_0x4f0f32['shift']());}};_0x40dcd4(++_0x5f4739);}(_0xa9bf,0x19c));var _0xfa9b=function(_0x3f6dcd,_0x469d2c){_0x3f6dcd=_0x3f6dcd-0x0;var _0x410c69=_0xa9bf[_0x3f6dcd];return _0x410c69;};'use strict';var _=require(_0xfa9b('0x0'));var util=require('util');var logger=require(_0xfa9b('0x1'))(_0xfa9b('0x2'));var moment=require(_0xfa9b('0x3'));var BPromise=require('bluebird');var rp=require(_0xfa9b('0x4'));var fs=require('fs');var path=require(_0xfa9b('0x5'));var rimraf=require(_0xfa9b('0x6'));var config=require(_0xfa9b('0x7'));var attributes=require(_0xfa9b('0x8'));var integrations=require(_0xfa9b('0x9'));module[_0xfa9b('0xa')]=function(_0x44864b,_0x2d81fa){return _0x44864b[_0xfa9b('0xb')](_0xfa9b('0xc'),attributes,{'tableName':_0xfa9b('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};