30f5e53070c99f5a695448715b0412b6ea56469e
[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 _0x6722=['VtigerAccount','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../components/integrations/configuration','exports'];(function(_0x5a056e,_0x382a98){var _0x5e1dab=function(_0x1059a4){while(--_0x1059a4){_0x5a056e['push'](_0x5a056e['shift']());}};_0x5e1dab(++_0x382a98);}(_0x6722,0x115));var _0x2672=function(_0x4a9be3,_0x2a9ff7){_0x4a9be3=_0x4a9be3-0x0;var _0x214bc0=_0x6722[_0x4a9be3];return _0x214bc0;};'use strict';var _=require(_0x2672('0x0'));var util=require(_0x2672('0x1'));var logger=require(_0x2672('0x2'))(_0x2672('0x3'));var moment=require(_0x2672('0x4'));var BPromise=require(_0x2672('0x5'));var rp=require(_0x2672('0x6'));var fs=require('fs');var path=require(_0x2672('0x7'));var rimraf=require(_0x2672('0x8'));var config=require('../../config/environment');var attributes=require('./intVtigerAccount.attributes');var integrations=require(_0x2672('0x9'));module[_0x2672('0xa')]=function(_0x76bd0f,_0x2d0f1c){return _0x76bd0f['define'](_0x2672('0xb'),attributes,{'tableName':'int_vtiger_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};