Built motion from commit (unavailable).|2.4.15
[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 _0x726a=['idField','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./intFreshdeskField.attributes','exports','define','FreshdeskField','int_freshdesk_fields','freshdesk_unique_index'];(function(_0x57643b,_0x1706fe){var _0x53a35b=function(_0x2625e8){while(--_0x2625e8){_0x57643b['push'](_0x57643b['shift']());}};_0x53a35b(++_0x1706fe);}(_0x726a,0x1ab));var _0xa726=function(_0x3233eb,_0x3c4d78){_0x3233eb=_0x3233eb-0x0;var _0x1c626c=_0x726a[_0x3233eb];return _0x1c626c;};'use strict';var _=require(_0xa726('0x0'));var util=require(_0xa726('0x1'));var logger=require(_0xa726('0x2'))(_0xa726('0x3'));var moment=require(_0xa726('0x4'));var BPromise=require(_0xa726('0x5'));var rp=require(_0xa726('0x6'));var fs=require('fs');var path=require(_0xa726('0x7'));var rimraf=require(_0xa726('0x8'));var config=require('../../config/environment');var attributes=require(_0xa726('0x9'));module[_0xa726('0xa')]=function(_0xeec1e0,_0x1cc96f){return _0xeec1e0[_0xa726('0xb')](_0xa726('0xc'),attributes,{'tableName':_0xa726('0xd'),'paranoid':![],'indexes':[{'name':_0xa726('0xe'),'fields':[_0xa726('0xf'),_0xa726('0x10')],'unique':!![]}],'timestamps':!![]});};