Built motion from commit (unavailable).|2.5.16
[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 _0x3d12=['./intFreshdeskField.attributes','exports','FreshdeskField','freshdesk_unique_index','idField','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0xb18095,_0x3a3b26){var _0x540268=function(_0x1396e5){while(--_0x1396e5){_0xb18095['push'](_0xb18095['shift']());}};_0x540268(++_0x3a3b26);}(_0x3d12,0x186));var _0x23d1=function(_0x1dad64,_0x3f661a){_0x1dad64=_0x1dad64-0x0;var _0x29e84b=_0x3d12[_0x1dad64];return _0x29e84b;};'use strict';var _=require(_0x23d1('0x0'));var util=require(_0x23d1('0x1'));var logger=require(_0x23d1('0x2'))(_0x23d1('0x3'));var moment=require(_0x23d1('0x4'));var BPromise=require(_0x23d1('0x5'));var rp=require(_0x23d1('0x6'));var fs=require('fs');var path=require(_0x23d1('0x7'));var rimraf=require(_0x23d1('0x8'));var config=require(_0x23d1('0x9'));var attributes=require(_0x23d1('0xa'));module[_0x23d1('0xb')]=function(_0x9d21ee,_0x322ecb){return _0x9d21ee['define'](_0x23d1('0xc'),attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':_0x23d1('0xd'),'fields':[_0x23d1('0xe'),_0x23d1('0xf')],'unique':!![]}],'timestamps':!![]});};