Built motion from commit (unavailable).|2.5.5
[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 _0xce7a=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./intVtigerAccount.attributes','../../components/integrations/configuration','exports','VtigerAccount','int_vtiger_accounts','lodash','util','api'];(function(_0x31fc49,_0x3739bd){var _0x9eb900=function(_0x4b67eb){while(--_0x4b67eb){_0x31fc49['push'](_0x31fc49['shift']());}};_0x9eb900(++_0x3739bd);}(_0xce7a,0xc1));var _0xace7=function(_0x2aa6d5,_0x292e00){_0x2aa6d5=_0x2aa6d5-0x0;var _0x2db633=_0xce7a[_0x2aa6d5];return _0x2db633;};'use strict';var _=require(_0xace7('0x0'));var util=require(_0xace7('0x1'));var logger=require('../../config/logger')(_0xace7('0x2'));var moment=require(_0xace7('0x3'));var BPromise=require(_0xace7('0x4'));var rp=require(_0xace7('0x5'));var fs=require('fs');var path=require(_0xace7('0x6'));var rimraf=require(_0xace7('0x7'));var config=require(_0xace7('0x8'));var attributes=require(_0xace7('0x9'));var integrations=require(_0xace7('0xa'));module[_0xace7('0xb')]=function(_0x597501,_0x259372){return _0x597501['define'](_0xace7('0xc'),attributes,{'tableName':_0xace7('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};