Built motion from commit (unavailable).|2.5.21
[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 _0xd71d=['../../config/environment','./intFreshdeskField.attributes','exports','define','int_freshdesk_fields','freshdesk_unique_index','idField','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x5048ee,_0x3bad45){var _0x476dd1=function(_0x2852d5){while(--_0x2852d5){_0x5048ee['push'](_0x5048ee['shift']());}};_0x476dd1(++_0x3bad45);}(_0xd71d,0x158));var _0xdd71=function(_0x1d50f2,_0x3c3ec6){_0x1d50f2=_0x1d50f2-0x0;var _0x3769b8=_0xd71d[_0x1d50f2];return _0x3769b8;};'use strict';var _=require(_0xdd71('0x0'));var util=require(_0xdd71('0x1'));var logger=require(_0xdd71('0x2'))(_0xdd71('0x3'));var moment=require(_0xdd71('0x4'));var BPromise=require(_0xdd71('0x5'));var rp=require(_0xdd71('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdd71('0x7'));var config=require(_0xdd71('0x8'));var attributes=require(_0xdd71('0x9'));module[_0xdd71('0xa')]=function(_0x3ed586,_0x304a94){return _0x3ed586[_0xdd71('0xb')]('FreshdeskField',attributes,{'tableName':_0xdd71('0xc'),'paranoid':![],'indexes':[{'name':_0xdd71('0xd'),'fields':[_0xdd71('0xe'),_0xdd71('0xf')],'unique':!![]}],'timestamps':!![]});};