Built motion from commit (unavailable).|2.5.19
[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 _0x5352=['bluebird','path','../../config/environment','./intFreshsalesAccount.attributes','exports','int_freshsales_accounts','lodash','util','../../config/logger','api','moment'];(function(_0x5cb0ae,_0x93bf62){var _0x3bd7fc=function(_0x5af354){while(--_0x5af354){_0x5cb0ae['push'](_0x5cb0ae['shift']());}};_0x3bd7fc(++_0x93bf62);}(_0x5352,0x1ea));var _0x2535=function(_0x50fb44,_0x265e46){_0x50fb44=_0x50fb44-0x0;var _0x365e9b=_0x5352[_0x50fb44];return _0x365e9b;};'use strict';var _=require(_0x2535('0x0'));var util=require(_0x2535('0x1'));var logger=require(_0x2535('0x2'))(_0x2535('0x3'));var moment=require(_0x2535('0x4'));var BPromise=require(_0x2535('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2535('0x6'));var rimraf=require('rimraf');var config=require(_0x2535('0x7'));var attributes=require(_0x2535('0x8'));var integrations=require('../../components/integrations/configuration');module[_0x2535('0x9')]=function(_0x4eed3c,_0x36c0c1){return _0x4eed3c['define']('FreshsalesAccount',attributes,{'tableName':_0x2535('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};