Built motion from commit 616d3211.|2.6.4
[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 _0xd08e=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes','exports','define','ServicenowField','int_servicenow_fields','servicenow_unique_index','idField','FieldId'];(function(_0x3a864e,_0x10a0c1){var _0x3c1f78=function(_0x5e3925){while(--_0x5e3925){_0x3a864e['push'](_0x3a864e['shift']());}};_0x3c1f78(++_0x10a0c1);}(_0xd08e,0x120));var _0xed08=function(_0x4ce028,_0x526d4b){_0x4ce028=_0x4ce028-0x0;var _0x583d0c=_0xd08e[_0x4ce028];return _0x583d0c;};'use strict';var _=require(_0xed08('0x0'));var util=require(_0xed08('0x1'));var logger=require(_0xed08('0x2'))(_0xed08('0x3'));var moment=require(_0xed08('0x4'));var BPromise=require(_0xed08('0x5'));var rp=require(_0xed08('0x6'));var fs=require('fs');var path=require(_0xed08('0x7'));var rimraf=require(_0xed08('0x8'));var config=require(_0xed08('0x9'));var attributes=require(_0xed08('0xa'));module[_0xed08('0xb')]=function(_0x2ba2dc,_0x35094b){return _0x2ba2dc[_0xed08('0xc')](_0xed08('0xd'),attributes,{'tableName':_0xed08('0xe'),'paranoid':![],'indexes':[{'name':_0xed08('0xf'),'fields':[_0xed08('0x10'),_0xed08('0x11')],'unique':!![]}],'timestamps':!![]});};