Built motion from commit (unavailable).|2.5.12
[motion2.git] / server / api / intFreshsalesAccount / intFreshsalesAccount.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 _0x5330=['exports','define','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','path','rimraf','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration'];(function(_0x164290,_0x8b3740){var _0x594eeb=function(_0x5549cd){while(--_0x5549cd){_0x164290['push'](_0x164290['shift']());}};_0x594eeb(++_0x8b3740);}(_0x5330,0x13c));var _0x0533=function(_0x7d2b6d,_0x1bd1ab){_0x7d2b6d=_0x7d2b6d-0x0;var _0x26d223=_0x5330[_0x7d2b6d];return _0x26d223;};'use strict';var _=require(_0x0533('0x0'));var util=require(_0x0533('0x1'));var logger=require(_0x0533('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0533('0x3'));var rimraf=require(_0x0533('0x4'));var config=require(_0x0533('0x5'));var attributes=require(_0x0533('0x6'));var integrations=require(_0x0533('0x7'));module[_0x0533('0x8')]=function(_0x52f80b,_0x455e18){return _0x52f80b[_0x0533('0x9')](_0x0533('0xa'),attributes,{'tableName':_0x0533('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};