8edde2a1f0056d7355d68808398c219725ad019a
[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 _0xfbcc=['api','bluebird','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','lodash','util'];(function(_0x1f8b39,_0x17e04f){var _0x1fcee6=function(_0x5817d5){while(--_0x5817d5){_0x1f8b39['push'](_0x1f8b39['shift']());}};_0x1fcee6(++_0x17e04f);}(_0xfbcc,0xb2));var _0xcfbc=function(_0x45d55e,_0x2fede3){_0x45d55e=_0x45d55e-0x0;var _0x29812a=_0xfbcc[_0x45d55e];return _0x29812a;};'use strict';var _=require(_0xcfbc('0x0'));var util=require(_0xcfbc('0x1'));var logger=require('../../config/logger')(_0xcfbc('0x2'));var moment=require('moment');var BPromise=require(_0xcfbc('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xcfbc('0x4'));var rimraf=require(_0xcfbc('0x5'));var config=require(_0xcfbc('0x6'));var attributes=require(_0xcfbc('0x7'));var integrations=require(_0xcfbc('0x8'));module[_0xcfbc('0x9')]=function(_0x4d232e,_0x44afd2){return _0x4d232e[_0xcfbc('0xa')](_0xcfbc('0xb'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};