Built motion from commit (unavailable).|2.4.3
[motion2.git] / server / api / intFreshdeskField / intFreshdeskField.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 _0xc058=['./intFreshdeskField.attributes','exports','define','FreshdeskField','idField','FieldId','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x1eed8e,_0xe05364){var _0x564f41=function(_0x394a61){while(--_0x394a61){_0x1eed8e['push'](_0x1eed8e['shift']());}};_0x564f41(++_0xe05364);}(_0xc058,0x1c6));var _0x8c05=function(_0x4c12ec,_0x2e9103){_0x4c12ec=_0x4c12ec-0x0;var _0x3ae42c=_0xc058[_0x4c12ec];return _0x3ae42c;};'use strict';var _=require(_0x8c05('0x0'));var util=require(_0x8c05('0x1'));var logger=require(_0x8c05('0x2'))(_0x8c05('0x3'));var moment=require('moment');var BPromise=require(_0x8c05('0x4'));var rp=require(_0x8c05('0x5'));var fs=require('fs');var path=require(_0x8c05('0x6'));var rimraf=require(_0x8c05('0x7'));var config=require('../../config/environment');var attributes=require(_0x8c05('0x8'));module[_0x8c05('0x9')]=function(_0x38a0c2,_0x1639f6){return _0x38a0c2[_0x8c05('0xa')](_0x8c05('0xb'),attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':'freshdesk_unique_index','fields':[_0x8c05('0xc'),_0x8c05('0xd')],'unique':!![]}],'timestamps':!![]});};