Built motion from commit 10af8726.|2.6.34
[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 _0xb44a=['../../config/logger','moment','path','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','exports','define','FreshsalesAccount','int_freshsales_accounts'];(function(_0x414389,_0x32b2ea){var _0x51397f=function(_0x59d099){while(--_0x59d099){_0x414389['push'](_0x414389['shift']());}};_0x51397f(++_0x32b2ea);}(_0xb44a,0x1c2));var _0xab44=function(_0x146484,_0x27a7f0){_0x146484=_0x146484-0x0;var _0x4c7aa3=_0xb44a[_0x146484];return _0x4c7aa3;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xab44('0x0'))('api');var moment=require(_0xab44('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xab44('0x2'));var rimraf=require('rimraf');var config=require(_0xab44('0x3'));var attributes=require(_0xab44('0x4'));var integrations=require(_0xab44('0x5'));module[_0xab44('0x6')]=function(_0x2f3948,_0x3303b1){return _0x2f3948[_0xab44('0x7')](_0xab44('0x8'),attributes,{'tableName':_0xab44('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};