1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x973a=['lodash','util','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskField.attributes','exports','define','DeskField','desk_unique_index','idField','FieldId'];(function(_0x44379c,_0x49549d){var _0x5497ec=function(_0x2f526f){while(--_0x2f526f){_0x44379c['push'](_0x44379c['shift']());}};_0x5497ec(++_0x49549d);}(_0x973a,0x70));var _0xa973=function(_0x9216ab,_0x2ad17d){_0x9216ab=_0x9216ab-0x0;var _0x63d424=_0x973a[_0x9216ab];return _0x63d424;};'use strict';var _=require(_0xa973('0x0'));var util=require(_0xa973('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xa973('0x2'));var rp=require(_0xa973('0x3'));var fs=require('fs');var path=require(_0xa973('0x4'));var rimraf=require(_0xa973('0x5'));var config=require(_0xa973('0x6'));var attributes=require(_0xa973('0x7'));module[_0xa973('0x8')]=function(_0x4bcc0c,_0x5f3cc7){return _0x4bcc0c[_0xa973('0x9')](_0xa973('0xa'),attributes,{'tableName':'int_desk_fields','paranoid':![],'indexes':[{'name':_0xa973('0xb'),'fields':[_0xa973('0xc'),_0xa973('0xd')],'unique':!![]}],'timestamps':!![]});};