9d6bf70f88f614a02aaaaed16b87e7027191bd91
[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 _0xb9f4=['path','rimraf','../../config/environment','./intVtigerAccount.attributes','../../components/integrations/configuration','define','VtigerAccount','int_vtiger_accounts','lodash','../../config/logger','api','moment','request-promise'];(function(_0x5530f3,_0x4a5934){var _0x11694f=function(_0x365895){while(--_0x365895){_0x5530f3['push'](_0x5530f3['shift']());}};_0x11694f(++_0x4a5934);}(_0xb9f4,0x7d));var _0x4b9f=function(_0x83b388,_0x4049bb){_0x83b388=_0x83b388-0x0;var _0x553952=_0xb9f4[_0x83b388];return _0x553952;};'use strict';var _=require(_0x4b9f('0x0'));var util=require('util');var logger=require(_0x4b9f('0x1'))(_0x4b9f('0x2'));var moment=require(_0x4b9f('0x3'));var BPromise=require('bluebird');var rp=require(_0x4b9f('0x4'));var fs=require('fs');var path=require(_0x4b9f('0x5'));var rimraf=require(_0x4b9f('0x6'));var config=require(_0x4b9f('0x7'));var attributes=require(_0x4b9f('0x8'));var integrations=require(_0x4b9f('0x9'));module['exports']=function(_0x1b9027,_0xfbfbd6){return _0x1b9027[_0x4b9f('0xa')](_0x4b9f('0xb'),attributes,{'tableName':_0x4b9f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};