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 _0x9af1=['lodash','util','../../config/logger','moment','bluebird','request-promise','../../config/environment','exports','define','ZendeskField','zendesk_unique_index','idField','FieldId'];(function(_0x267f1c,_0x449810){var _0x47599a=function(_0x45b7cc){while(--_0x45b7cc){_0x267f1c['push'](_0x267f1c['shift']());}};_0x47599a(++_0x449810);}(_0x9af1,0x68));var _0x19af=function(_0x4441b1,_0x17bf98){_0x4441b1=_0x4441b1-0x0;var _0x3d510f=_0x9af1[_0x4441b1];return _0x3d510f;};'use strict';var _=require(_0x19af('0x0'));var util=require(_0x19af('0x1'));var logger=require(_0x19af('0x2'))('api');var moment=require(_0x19af('0x3'));var BPromise=require(_0x19af('0x4'));var rp=require(_0x19af('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x19af('0x6'));var attributes=require('./intZendeskField.attributes');module[_0x19af('0x7')]=function(_0x157fc9,_0x41a50f){return _0x157fc9[_0x19af('0x8')](_0x19af('0x9'),attributes,{'tableName':'int_zendesk_fields','paranoid':![],'indexes':[{'name':_0x19af('0xa'),'fields':[_0x19af('0xb'),_0x19af('0xc')],'unique':!![]}],'timestamps':!![]});};