Built motion from commit 0555bc41.|2.5.41
[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 _0x49cb=['rimraf','../../config/environment','./intVtigerAccount.attributes','../../components/integrations/configuration','exports','VtigerAccount','int_vtiger_accounts','util','../../config/logger','api','bluebird','path'];(function(_0x4f528d,_0x4eac7e){var _0x220d1a=function(_0x4ed061){while(--_0x4ed061){_0x4f528d['push'](_0x4f528d['shift']());}};_0x220d1a(++_0x4eac7e);}(_0x49cb,0x103));var _0xb49c=function(_0x1a7890,_0x202c2a){_0x1a7890=_0x1a7890-0x0;var _0xd6c3b5=_0x49cb[_0x1a7890];return _0xd6c3b5;};'use strict';var _=require('lodash');var util=require(_0xb49c('0x0'));var logger=require(_0xb49c('0x1'))(_0xb49c('0x2'));var moment=require('moment');var BPromise=require(_0xb49c('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb49c('0x4'));var rimraf=require(_0xb49c('0x5'));var config=require(_0xb49c('0x6'));var attributes=require(_0xb49c('0x7'));var integrations=require(_0xb49c('0x8'));module[_0xb49c('0x9')]=function(_0x372d99,_0xfb5323){return _0x372d99['define'](_0xb49c('0xa'),attributes,{'tableName':_0xb49c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};