Built motion from commit (unavailable).|2.4.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 _0x3ab1=['moment','bluebird','request-promise','rimraf','../../config/environment','./intFreshdeskField.attributes','exports','define','int_freshdesk_fields','freshdesk_unique_index','idField','FieldId','lodash','util'];(function(_0x2add7e,_0xe6ca0c){var _0xb99d4b=function(_0x470fd5){while(--_0x470fd5){_0x2add7e['push'](_0x2add7e['shift']());}};_0xb99d4b(++_0xe6ca0c);}(_0x3ab1,0xb4));var _0x13ab=function(_0x34783e,_0x3d7bf2){_0x34783e=_0x34783e-0x0;var _0x23450e=_0x3ab1[_0x34783e];return _0x23450e;};'use strict';var _=require(_0x13ab('0x0'));var util=require(_0x13ab('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x13ab('0x2'));var BPromise=require(_0x13ab('0x3'));var rp=require(_0x13ab('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x13ab('0x5'));var config=require(_0x13ab('0x6'));var attributes=require(_0x13ab('0x7'));module[_0x13ab('0x8')]=function(_0xdcbbf5,_0x55dc21){return _0xdcbbf5[_0x13ab('0x9')]('FreshdeskField',attributes,{'tableName':_0x13ab('0xa'),'paranoid':![],'indexes':[{'name':_0x13ab('0xb'),'fields':[_0x13ab('0xc'),_0x13ab('0xd')],'unique':!![]}],'timestamps':!![]});};