a818c0e7350f90d58f7708fb8432f6e557da1743
[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 _0xe922=['util','api','bluebird','request-promise','../../config/environment','./intVtigerAccount.attributes','../../components/integrations/configuration','exports','define','lodash'];(function(_0x8e8337,_0x33639e){var _0x35950c=function(_0x441dfd){while(--_0x441dfd){_0x8e8337['push'](_0x8e8337['shift']());}};_0x35950c(++_0x33639e);}(_0xe922,0x121));var _0x2e92=function(_0x11167c,_0xb0ff07){_0x11167c=_0x11167c-0x0;var _0x34bdb0=_0xe922[_0x11167c];return _0x34bdb0;};'use strict';var _=require(_0x2e92('0x0'));var util=require(_0x2e92('0x1'));var logger=require('../../config/logger')(_0x2e92('0x2'));var moment=require('moment');var BPromise=require(_0x2e92('0x3'));var rp=require(_0x2e92('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x2e92('0x5'));var attributes=require(_0x2e92('0x6'));var integrations=require(_0x2e92('0x7'));module[_0x2e92('0x8')]=function(_0x4822af,_0x25f70b){return _0x4822af[_0x2e92('0x9')]('VtigerAccount',attributes,{'tableName':'int_vtiger_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};