Built motion from commit (unavailable).|2.5.26
[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 _0xd9e5=['exports','idField','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0xd9e5,0x14c));var _0x5d9e=function(_0x315d72,_0x15a582){_0x315d72=_0x315d72-0x0;var _0x4aa64e=_0xd9e5[_0x315d72];return _0x4aa64e;};'use strict';var _=require(_0x5d9e('0x0'));var util=require(_0x5d9e('0x1'));var logger=require(_0x5d9e('0x2'))(_0x5d9e('0x3'));var moment=require('moment');var BPromise=require(_0x5d9e('0x4'));var rp=require(_0x5d9e('0x5'));var fs=require('fs');var path=require(_0x5d9e('0x6'));var rimraf=require(_0x5d9e('0x7'));var config=require(_0x5d9e('0x8'));var attributes=require('./intServicenowField.attributes');module[_0x5d9e('0x9')]=function(_0x4ceb09,_0x1134e8){return _0x4ceb09['define']('ServicenowField',attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0x5d9e('0xa'),'FieldId'],'unique':!![]}],'timestamps':!![]});};