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 _0x0ace=['api','moment','bluebird','request-promise','rimraf','define','int_servicenow_fields','idField','FieldId','util'];(function(_0x53e83d,_0x760f0f){var _0x212614=function(_0x3fc40a){while(--_0x3fc40a){_0x53e83d['push'](_0x53e83d['shift']());}};_0x212614(++_0x760f0f);}(_0x0ace,0x103));var _0xe0ac=function(_0x5cdf5d,_0x616e66){_0x5cdf5d=_0x5cdf5d-0x0;var _0x2b947a=_0x0ace[_0x5cdf5d];return _0x2b947a;};'use strict';var _=require('lodash');var util=require(_0xe0ac('0x0'));var logger=require('../../config/logger')(_0xe0ac('0x1'));var moment=require(_0xe0ac('0x2'));var BPromise=require(_0xe0ac('0x3'));var rp=require(_0xe0ac('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe0ac('0x5'));var config=require('../../config/environment');var attributes=require('./intServicenowField.attributes');module['exports']=function(_0x21c3cc,_0x14ad82){return _0x21c3cc[_0xe0ac('0x6')]('ServicenowField',attributes,{'tableName':_0xe0ac('0x7'),'paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0xe0ac('0x8'),_0xe0ac('0x9')],'unique':!![]}],'timestamps':!![]});};