Built motion from commit 1fa89557.|2.6.10
[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 _0x6c8b=['util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./intFreshdeskField.attributes','FieldId','lodash'];(function(_0x5ed58d,_0x3157f8){var _0x2ffede=function(_0x1a70a9){while(--_0x1a70a9){_0x5ed58d['push'](_0x5ed58d['shift']());}};_0x2ffede(++_0x3157f8);}(_0x6c8b,0xa9));var _0xb6c8=function(_0x27dcca,_0x131890){_0x27dcca=_0x27dcca-0x0;var _0x1f6e0b=_0x6c8b[_0x27dcca];return _0x1f6e0b;};'use strict';var _=require(_0xb6c8('0x0'));var util=require(_0xb6c8('0x1'));var logger=require(_0xb6c8('0x2'))(_0xb6c8('0x3'));var moment=require('moment');var BPromise=require(_0xb6c8('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb6c8('0x5'));var rimraf=require(_0xb6c8('0x6'));var config=require(_0xb6c8('0x7'));var attributes=require(_0xb6c8('0x8'));module['exports']=function(_0x115024,_0x1eda6f){return _0x115024['define']('FreshdeskField',attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':'freshdesk_unique_index','fields':['idField',_0xb6c8('0x9')],'unique':!![]}],'timestamps':!![]});};