b9d8129c2d02cd32e1bf25fb06621abee2e1144c
[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 _0xe991=['./intVtigerAccount.attributes','../../components/integrations/configuration','exports','define','VtigerAccount','int_vtiger_accounts','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x2c32fb,_0x45b9a8){var _0x1f2836=function(_0x277504){while(--_0x277504){_0x2c32fb['push'](_0x2c32fb['shift']());}};_0x1f2836(++_0x45b9a8);}(_0xe991,0x92));var _0x1e99=function(_0x5760e8,_0x293b29){_0x5760e8=_0x5760e8-0x0;var _0x122e50=_0xe991[_0x5760e8];return _0x122e50;};'use strict';var _=require(_0x1e99('0x0'));var util=require(_0x1e99('0x1'));var logger=require('../../config/logger')(_0x1e99('0x2'));var moment=require(_0x1e99('0x3'));var BPromise=require(_0x1e99('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1e99('0x5'));var rimraf=require(_0x1e99('0x6'));var config=require(_0x1e99('0x7'));var attributes=require(_0x1e99('0x8'));var integrations=require(_0x1e99('0x9'));module[_0x1e99('0xa')]=function(_0xa56a31,_0x2ec4c9){return _0xa56a31[_0x1e99('0xb')](_0x1e99('0xc'),attributes,{'tableName':_0x1e99('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};