Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / intFreshdeskAccount / intFreshdeskAccount.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 _0x6775=['exports','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./intFreshdeskAccount.attributes'];(function(_0x3c858f,_0x235201){var _0x198090=function(_0xc4c406){while(--_0xc4c406){_0x3c858f['push'](_0x3c858f['shift']());}};_0x198090(++_0x235201);}(_0x6775,0xab));var _0x5677=function(_0x51b9fe,_0x8ab002){_0x51b9fe=_0x51b9fe-0x0;var _0x1ac1f9=_0x6775[_0x51b9fe];return _0x1ac1f9;};'use strict';var _=require(_0x5677('0x0'));var util=require(_0x5677('0x1'));var logger=require(_0x5677('0x2'))(_0x5677('0x3'));var moment=require(_0x5677('0x4'));var BPromise=require(_0x5677('0x5'));var rp=require(_0x5677('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5677('0x7'));var attributes=require(_0x5677('0x8'));var integrations=require('../../components/integrations/configuration');module[_0x5677('0x9')]=function(_0x4c20ab,_0xa2c4fe){return _0x4c20ab['define'](_0x5677('0xa'),attributes,{'tableName':_0x5677('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};