Built motion from commit (unavailable).|2.4.21
[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 _0x06a3=['../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','define','FreshsalesAccount','int_freshsales_accounts','lodash','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x3ab9ee,_0x4a74b8){var _0x82ee88=function(_0x6ccc7e){while(--_0x6ccc7e){_0x3ab9ee['push'](_0x3ab9ee['shift']());}};_0x82ee88(++_0x4a74b8);}(_0x06a3,0xa0));var _0x306a=function(_0x3e3f8b,_0x98ea26){_0x3e3f8b=_0x3e3f8b-0x0;var _0x354e47=_0x06a3[_0x3e3f8b];return _0x354e47;};'use strict';var _=require(_0x306a('0x0'));var util=require(_0x306a('0x1'));var logger=require('../../config/logger')(_0x306a('0x2'));var moment=require(_0x306a('0x3'));var BPromise=require(_0x306a('0x4'));var rp=require(_0x306a('0x5'));var fs=require('fs');var path=require(_0x306a('0x6'));var rimraf=require(_0x306a('0x7'));var config=require(_0x306a('0x8'));var attributes=require(_0x306a('0x9'));var integrations=require(_0x306a('0xa'));module['exports']=function(_0x47a5f0,_0x5338d7){return _0x47a5f0[_0x306a('0xb')](_0x306a('0xc'),attributes,{'tableName':_0x306a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};