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 _0xf744=['bluebird','path','rimraf','../../config/environment','./intZendeskField.attributes','exports','define','int_zendesk_fields','zendesk_unique_index','idField','FieldId','lodash','util','../../config/logger','moment'];(function(_0x5aee2d,_0x111038){var _0x4daa97=function(_0xa2da52){while(--_0xa2da52){_0x5aee2d['push'](_0x5aee2d['shift']());}};_0x4daa97(++_0x111038);}(_0xf744,0xdd));var _0x4f74=function(_0x62c958,_0x2bfdbc){_0x62c958=_0x62c958-0x0;var _0x57ec61=_0xf744[_0x62c958];return _0x57ec61;};'use strict';var _=require(_0x4f74('0x0'));var util=require(_0x4f74('0x1'));var logger=require(_0x4f74('0x2'))('api');var moment=require(_0x4f74('0x3'));var BPromise=require(_0x4f74('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4f74('0x5'));var rimraf=require(_0x4f74('0x6'));var config=require(_0x4f74('0x7'));var attributes=require(_0x4f74('0x8'));module[_0x4f74('0x9')]=function(_0x21abab,_0x48cf14){return _0x21abab[_0x4f74('0xa')]('ZendeskField',attributes,{'tableName':_0x4f74('0xb'),'paranoid':![],'indexes':[{'name':_0x4f74('0xc'),'fields':[_0x4f74('0xd'),_0x4f74('0xe')],'unique':!![]}],'timestamps':!![]});};