Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / intSugarcrmAccount / intSugarcrmAccount.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 _0x8e47=['./intSugarcrmAccount.attributes','define','SugarcrmAccount','int_sugarcrm_accounts','lodash','api','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x12f357,_0x40ba6c){var _0x16a875=function(_0x190cf8){while(--_0x190cf8){_0x12f357['push'](_0x12f357['shift']());}};_0x16a875(++_0x40ba6c);}(_0x8e47,0x190));var _0x78e4=function(_0x4e9df2,_0x36818e){_0x4e9df2=_0x4e9df2-0x0;var _0x9fe790=_0x8e47[_0x4e9df2];return _0x9fe790;};'use strict';var _=require(_0x78e4('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x78e4('0x1'));var moment=require(_0x78e4('0x2'));var BPromise=require(_0x78e4('0x3'));var rp=require(_0x78e4('0x4'));var fs=require('fs');var path=require(_0x78e4('0x5'));var rimraf=require('rimraf');var config=require(_0x78e4('0x6'));var attributes=require(_0x78e4('0x7'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x89c57b,_0x3a61a0){return _0x89c57b[_0x78e4('0x8')](_0x78e4('0x9'),attributes,{'tableName':_0x78e4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};