Built motion from commit (unavailable).|2.5.28
[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 _0xceaa=['idField','FieldId','lodash','util','api','bluebird','request-promise','path','rimraf','./intFreshdeskField.attributes','exports','define','int_freshdesk_fields','freshdesk_unique_index'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xceaa,0x16e));var _0xacea=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xceaa[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xacea('0x0'));var util=require(_0xacea('0x1'));var logger=require('../../config/logger')(_0xacea('0x2'));var moment=require('moment');var BPromise=require(_0xacea('0x3'));var rp=require(_0xacea('0x4'));var fs=require('fs');var path=require(_0xacea('0x5'));var rimraf=require(_0xacea('0x6'));var config=require('../../config/environment');var attributes=require(_0xacea('0x7'));module[_0xacea('0x8')]=function(_0x14f4a6,_0x2111f9){return _0x14f4a6[_0xacea('0x9')]('FreshdeskField',attributes,{'tableName':_0xacea('0xa'),'paranoid':![],'indexes':[{'name':_0xacea('0xb'),'fields':[_0xacea('0xc'),_0xacea('0xd')],'unique':!![]}],'timestamps':!![]});};