Built motion from commit (unavailable).|2.5.25
[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 _0x5af3=['exports','ServicenowField','servicenow_unique_index','FieldId','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes'];(function(_0x441a6d,_0x72dc38){var _0x39bfe3=function(_0x349297){while(--_0x349297){_0x441a6d['push'](_0x441a6d['shift']());}};_0x39bfe3(++_0x72dc38);}(_0x5af3,0xee));var _0x35af=function(_0x4709c0,_0x3396c7){_0x4709c0=_0x4709c0-0x0;var _0x13348b=_0x5af3[_0x4709c0];return _0x13348b;};'use strict';var _=require('lodash');var util=require(_0x35af('0x0'));var logger=require(_0x35af('0x1'))(_0x35af('0x2'));var moment=require(_0x35af('0x3'));var BPromise=require('bluebird');var rp=require(_0x35af('0x4'));var fs=require('fs');var path=require(_0x35af('0x5'));var rimraf=require(_0x35af('0x6'));var config=require(_0x35af('0x7'));var attributes=require(_0x35af('0x8'));module[_0x35af('0x9')]=function(_0x37fefd,_0x29f02c){return _0x37fefd['define'](_0x35af('0xa'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':_0x35af('0xb'),'fields':['idField',_0x35af('0xc')],'unique':!![]}],'timestamps':!![]});};