Built motion from commit 753c950e.|2.5.42
[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 _0x1481=['define','ServicenowField','int_servicenow_fields','idField','lodash','util','../../config/logger','api','moment','request-promise','rimraf','./intServicenowField.attributes','exports'];(function(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0x1481,0x197));var _0x1148=function(_0x36b29c,_0x373574){_0x36b29c=_0x36b29c-0x0;var _0x39d534=_0x1481[_0x36b29c];return _0x39d534;};'use strict';var _=require(_0x1148('0x0'));var util=require(_0x1148('0x1'));var logger=require(_0x1148('0x2'))(_0x1148('0x3'));var moment=require(_0x1148('0x4'));var BPromise=require('bluebird');var rp=require(_0x1148('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1148('0x6'));var config=require('../../config/environment');var attributes=require(_0x1148('0x7'));module[_0x1148('0x8')]=function(_0x15f686,_0x5844c4){return _0x15f686[_0x1148('0x9')](_0x1148('0xa'),attributes,{'tableName':_0x1148('0xb'),'paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0x1148('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});};