4db0dcb2498059071d992aab7219de58a0eece0b
[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 _0xe302=['lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','../../components/integrations/configuration','define','VtigerAccount'];(function(_0x47a349,_0x4699d9){var _0x18ab75=function(_0x210796){while(--_0x210796){_0x47a349['push'](_0x47a349['shift']());}};_0x18ab75(++_0x4699d9);}(_0xe302,0x108));var _0x2e30=function(_0x15a37c,_0x26e782){_0x15a37c=_0x15a37c-0x0;var _0x2f8ae6=_0xe302[_0x15a37c];return _0x2f8ae6;};'use strict';var _=require(_0x2e30('0x0'));var util=require(_0x2e30('0x1'));var logger=require(_0x2e30('0x2'))(_0x2e30('0x3'));var moment=require(_0x2e30('0x4'));var BPromise=require('bluebird');var rp=require(_0x2e30('0x5'));var fs=require('fs');var path=require(_0x2e30('0x6'));var rimraf=require(_0x2e30('0x7'));var config=require(_0x2e30('0x8'));var attributes=require('./intVtigerAccount.attributes');var integrations=require(_0x2e30('0x9'));module['exports']=function(_0x3b8112,_0xabdab){return _0x3b8112[_0x2e30('0xa')](_0x2e30('0xb'),attributes,{'tableName':'int_vtiger_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};