Built motion from commit (unavailable).|2.5.4
[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 _0x209c=['./intVtigerAccount.attributes','exports','VtigerAccount','int_vtiger_accounts','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1fca6c,_0x2bbb55){var _0x4583de=function(_0x3cba69){while(--_0x3cba69){_0x1fca6c['push'](_0x1fca6c['shift']());}};_0x4583de(++_0x2bbb55);}(_0x209c,0xf4));var _0xc209=function(_0x1a4798,_0x36e48f){_0x1a4798=_0x1a4798-0x0;var _0x12bc9d=_0x209c[_0x1a4798];return _0x12bc9d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xc209('0x0'))(_0xc209('0x1'));var moment=require(_0xc209('0x2'));var BPromise=require(_0xc209('0x3'));var rp=require(_0xc209('0x4'));var fs=require('fs');var path=require(_0xc209('0x5'));var rimraf=require(_0xc209('0x6'));var config=require(_0xc209('0x7'));var attributes=require(_0xc209('0x8'));var integrations=require('../../components/integrations/configuration');module[_0xc209('0x9')]=function(_0x111ae7,_0x3b7960){return _0x111ae7['define'](_0xc209('0xa'),attributes,{'tableName':_0xc209('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};