Built motion from commit (unavailable).|2.5.26
[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 _0x612c=['FreshdeskField','idField','FieldId','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./intFreshdeskField.attributes','exports','define'];(function(_0x1153c8,_0x565c55){var _0xd35977=function(_0x137eb8){while(--_0x137eb8){_0x1153c8['push'](_0x1153c8['shift']());}};_0xd35977(++_0x565c55);}(_0x612c,0x145));var _0xc612=function(_0x206593,_0x3cf9ae){_0x206593=_0x206593-0x0;var _0x25be66=_0x612c[_0x206593];return _0x25be66;};'use strict';var _=require(_0xc612('0x0'));var util=require(_0xc612('0x1'));var logger=require(_0xc612('0x2'))('api');var moment=require(_0xc612('0x3'));var BPromise=require(_0xc612('0x4'));var rp=require(_0xc612('0x5'));var fs=require('fs');var path=require(_0xc612('0x6'));var rimraf=require(_0xc612('0x7'));var config=require('../../config/environment');var attributes=require(_0xc612('0x8'));module[_0xc612('0x9')]=function(_0x1fd035,_0x3992ca){return _0x1fd035[_0xc612('0xa')](_0xc612('0xb'),attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':'freshdesk_unique_index','fields':[_0xc612('0xc'),_0xc612('0xd')],'unique':!![]}],'timestamps':!![]});};