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 _0x835c=['./intZendeskField.attributes','define','ZendeskField','int_zendesk_fields','zendesk_unique_index','idField','FieldId','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x5608a3,_0x5b33c5){var _0x1ed50a=function(_0x959171){while(--_0x959171){_0x5608a3['push'](_0x5608a3['shift']());}};_0x1ed50a(++_0x5b33c5);}(_0x835c,0xa7));var _0xc835=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x835c[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0xc835('0x0'));var util=require('util');var logger=require(_0xc835('0x1'))(_0xc835('0x2'));var moment=require(_0xc835('0x3'));var BPromise=require(_0xc835('0x4'));var rp=require(_0xc835('0x5'));var fs=require('fs');var path=require(_0xc835('0x6'));var rimraf=require(_0xc835('0x7'));var config=require(_0xc835('0x8'));var attributes=require(_0xc835('0x9'));module['exports']=function(_0x357a8c,_0x114307){return _0x357a8c[_0xc835('0xa')](_0xc835('0xb'),attributes,{'tableName':_0xc835('0xc'),'paranoid':![],'indexes':[{'name':_0xc835('0xd'),'fields':[_0xc835('0xe'),_0xc835('0xf')],'unique':!![]}],'timestamps':!![]});};