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 _0xf0e3=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intZendeskField.attributes','exports','define','ZendeskField','zendesk_unique_index','idField','FieldId'];(function(_0x2cfb58,_0x3d9412){var _0xd99951=function(_0x329afa){while(--_0x329afa){_0x2cfb58['push'](_0x2cfb58['shift']());}};_0xd99951(++_0x3d9412);}(_0xf0e3,0x1b0));var _0x3f0e=function(_0x3c7bcc,_0x2e08b2){_0x3c7bcc=_0x3c7bcc-0x0;var _0x2e4767=_0xf0e3[_0x3c7bcc];return _0x2e4767;};'use strict';var _=require(_0x3f0e('0x0'));var util=require(_0x3f0e('0x1'));var logger=require(_0x3f0e('0x2'))(_0x3f0e('0x3'));var moment=require(_0x3f0e('0x4'));var BPromise=require(_0x3f0e('0x5'));var rp=require(_0x3f0e('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3f0e('0x7'));var config=require(_0x3f0e('0x8'));var attributes=require(_0x3f0e('0x9'));module[_0x3f0e('0xa')]=function(_0x3f62ba,_0x150aa0){return _0x3f62ba[_0x3f0e('0xb')](_0x3f0e('0xc'),attributes,{'tableName':'int_zendesk_fields','paranoid':![],'indexes':[{'name':_0x3f0e('0xd'),'fields':[_0x3f0e('0xe'),_0x3f0e('0xf')],'unique':!![]}],'timestamps':!![]});};