Built motion from commit ddca4d0d.|2.5.47
[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 _0x78e6=['./intVtigerAccount.attributes','../../components/integrations/configuration','exports','define','int_vtiger_accounts','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x196399,_0x4168f8){var _0x252c94=function(_0x14ebcd){while(--_0x14ebcd){_0x196399['push'](_0x196399['shift']());}};_0x252c94(++_0x4168f8);}(_0x78e6,0x6d));var _0x678e=function(_0x25e7cb,_0x3579b7){_0x25e7cb=_0x25e7cb-0x0;var _0x375d92=_0x78e6[_0x25e7cb];return _0x375d92;};'use strict';var _=require('lodash');var util=require(_0x678e('0x0'));var logger=require(_0x678e('0x1'))('api');var moment=require(_0x678e('0x2'));var BPromise=require(_0x678e('0x3'));var rp=require(_0x678e('0x4'));var fs=require('fs');var path=require(_0x678e('0x5'));var rimraf=require(_0x678e('0x6'));var config=require(_0x678e('0x7'));var attributes=require(_0x678e('0x8'));var integrations=require(_0x678e('0x9'));module[_0x678e('0xa')]=function(_0x84dd17,_0x16acdf){return _0x84dd17[_0x678e('0xb')]('VtigerAccount',attributes,{'tableName':_0x678e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};