Built motion from commit (unavailable).|2.5.3
[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 _0x8fab=['../../config/logger','api','bluebird','request-promise','path','rimraf','./intServicenowField.attributes','exports','define','ServicenowField','int_servicenow_fields','servicenow_unique_index','idField','FieldId','lodash','util'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x8fab,0x1ce));var _0xb8fa=function(_0x4ee00e,_0x3008cf){_0x4ee00e=_0x4ee00e-0x0;var _0x1c7eff=_0x8fab[_0x4ee00e];return _0x1c7eff;};'use strict';var _=require(_0xb8fa('0x0'));var util=require(_0xb8fa('0x1'));var logger=require(_0xb8fa('0x2'))(_0xb8fa('0x3'));var moment=require('moment');var BPromise=require(_0xb8fa('0x4'));var rp=require(_0xb8fa('0x5'));var fs=require('fs');var path=require(_0xb8fa('0x6'));var rimraf=require(_0xb8fa('0x7'));var config=require('../../config/environment');var attributes=require(_0xb8fa('0x8'));module[_0xb8fa('0x9')]=function(_0x546b7f,_0x23eee0){return _0x546b7f[_0xb8fa('0xa')](_0xb8fa('0xb'),attributes,{'tableName':_0xb8fa('0xc'),'paranoid':![],'indexes':[{'name':_0xb8fa('0xd'),'fields':[_0xb8fa('0xe'),_0xb8fa('0xf')],'unique':!![]}],'timestamps':!![]});};