31796b7abf29530d3375c954d321c212a14f6477
[motion2.git] / server / api / intServicenowField / intServicenowField.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x1aea=['servicenow_unique_index','idField','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./intServicenowField.attributes','exports','define','ServicenowField'];(function(_0x2ca6a7,_0x521ccd){var _0x243e7a=function(_0x1cee01){while(--_0x1cee01){_0x2ca6a7['push'](_0x2ca6a7['shift']());}};_0x243e7a(++_0x521ccd);}(_0x1aea,0x1d4));var _0xa1ae=function(_0x22431e,_0x5af0a3){_0x22431e=_0x22431e-0x0;var _0xd978e9=_0x1aea[_0x22431e];return _0xd978e9;};'use strict';var _=require(_0xa1ae('0x0'));var util=require(_0xa1ae('0x1'));var logger=require(_0xa1ae('0x2'))(_0xa1ae('0x3'));var moment=require(_0xa1ae('0x4'));var BPromise=require(_0xa1ae('0x5'));var rp=require(_0xa1ae('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa1ae('0x7'));var attributes=require(_0xa1ae('0x8'));module[_0xa1ae('0x9')]=function(_0x269935,_0x39b30e){return _0x269935[_0xa1ae('0xa')](_0xa1ae('0xb'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':_0xa1ae('0xc'),'fields':[_0xa1ae('0xd'),_0xa1ae('0xe')],'unique':!![]}],'timestamps':!![]});};