Built motion from commit f7863d46.|2.5.41
[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 _0xe7d7=['int_servicenow_fields','servicenow_unique_index','idField','FieldId','lodash','../../config/logger','api','rimraf','../../config/environment','./intServicenowField.attributes','exports','define'];(function(_0x401676,_0x3f1436){var _0x4f13fe=function(_0xd2f197){while(--_0xd2f197){_0x401676['push'](_0x401676['shift']());}};_0x4f13fe(++_0x3f1436);}(_0xe7d7,0x10c));var _0x7e7d=function(_0x267f26,_0x247a80){_0x267f26=_0x267f26-0x0;var _0x586aa4=_0xe7d7[_0x267f26];return _0x586aa4;};'use strict';var _=require(_0x7e7d('0x0'));var util=require('util');var logger=require(_0x7e7d('0x1'))(_0x7e7d('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x7e7d('0x3'));var config=require(_0x7e7d('0x4'));var attributes=require(_0x7e7d('0x5'));module[_0x7e7d('0x6')]=function(_0x493d17,_0x3b0574){return _0x493d17[_0x7e7d('0x7')]('ServicenowField',attributes,{'tableName':_0x7e7d('0x8'),'paranoid':![],'indexes':[{'name':_0x7e7d('0x9'),'fields':[_0x7e7d('0xa'),_0x7e7d('0xb')],'unique':!![]}],'timestamps':!![]});};