Built motion from commit 092f8824.|2.5.49
[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 _0xa5df=['request-promise','rimraf','../../config/environment','./intFreshdeskField.attributes','exports','define','freshdesk_unique_index','FieldId','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x3a902a,_0xca8442){var _0x24f2d5=function(_0xb6799a){while(--_0xb6799a){_0x3a902a['push'](_0x3a902a['shift']());}};_0x24f2d5(++_0xca8442);}(_0xa5df,0x190));var _0xfa5d=function(_0x3d7c28,_0x40f129){_0x3d7c28=_0x3d7c28-0x0;var _0x4b03e1=_0xa5df[_0x3d7c28];return _0x4b03e1;};'use strict';var _=require(_0xfa5d('0x0'));var util=require(_0xfa5d('0x1'));var logger=require(_0xfa5d('0x2'))(_0xfa5d('0x3'));var moment=require(_0xfa5d('0x4'));var BPromise=require(_0xfa5d('0x5'));var rp=require(_0xfa5d('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfa5d('0x7'));var config=require(_0xfa5d('0x8'));var attributes=require(_0xfa5d('0x9'));module[_0xfa5d('0xa')]=function(_0x331859,_0x1c2214){return _0x331859[_0xfa5d('0xb')]('FreshdeskField',attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':_0xfa5d('0xc'),'fields':['idField',_0xfa5d('0xd')],'unique':!![]}],'timestamps':!![]});};