47016c528bc75a5b5c5b2e604658b5f98c2ff411
[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 _0xea85=['bluebird','request-promise','path','rimraf','../../config/environment','./intVtigerAccount.attributes','define','VtigerAccount','int_vtiger_accounts','lodash','util','api','moment'];(function(_0x3ed2ae,_0x1f2259){var _0x251aee=function(_0x573f27){while(--_0x573f27){_0x3ed2ae['push'](_0x3ed2ae['shift']());}};_0x251aee(++_0x1f2259);}(_0xea85,0xd9));var _0x5ea8=function(_0x566acc,_0x5f42ec){_0x566acc=_0x566acc-0x0;var _0x4a6c6e=_0xea85[_0x566acc];return _0x4a6c6e;};'use strict';var _=require(_0x5ea8('0x0'));var util=require(_0x5ea8('0x1'));var logger=require('../../config/logger')(_0x5ea8('0x2'));var moment=require(_0x5ea8('0x3'));var BPromise=require(_0x5ea8('0x4'));var rp=require(_0x5ea8('0x5'));var fs=require('fs');var path=require(_0x5ea8('0x6'));var rimraf=require(_0x5ea8('0x7'));var config=require(_0x5ea8('0x8'));var attributes=require(_0x5ea8('0x9'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x5e5e2a,_0x1e6095){return _0x5e5e2a[_0x5ea8('0xa')](_0x5ea8('0xb'),attributes,{'tableName':_0x5ea8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};