Built motion from commit 511216ff.|2.6.34
[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 _0x8fbe=['../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x134827,_0x21f6ed){var _0x366671=function(_0x4dc8d4){while(--_0x4dc8d4){_0x134827['push'](_0x134827['shift']());}};_0x366671(++_0x21f6ed);}(_0x8fbe,0x1db));var _0xe8fb=function(_0x97d399,_0x218d12){_0x97d399=_0x97d399-0x0;var _0x46d733=_0x8fbe[_0x97d399];return _0x46d733;};'use strict';var _=require('lodash');var util=require(_0xe8fb('0x0'));var logger=require(_0xe8fb('0x1'))(_0xe8fb('0x2'));var moment=require(_0xe8fb('0x3'));var BPromise=require(_0xe8fb('0x4'));var rp=require(_0xe8fb('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xe8fb('0x6'));var attributes=require(_0xe8fb('0x7'));var integrations=require(_0xe8fb('0x8'));module[_0xe8fb('0x9')]=function(_0x1a51e1,_0x2e73c9){return _0x1a51e1[_0xe8fb('0xa')](_0xe8fb('0xb'),attributes,{'tableName':_0xe8fb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};