Built motion from commit (unavailable).|2.5.0
[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 _0xceac=['bluebird','request-promise','path','rimraf','./intServicenowField.attributes','exports','define','int_servicenow_fields','servicenow_unique_index','idField','FieldId','util','../../config/logger','api','moment'];(function(_0xefd3d7,_0x50bdc9){var _0x20029e=function(_0x381688){while(--_0x381688){_0xefd3d7['push'](_0xefd3d7['shift']());}};_0x20029e(++_0x50bdc9);}(_0xceac,0x92));var _0xccea=function(_0x58746f,_0x9b1594){_0x58746f=_0x58746f-0x0;var _0xfcc4d=_0xceac[_0x58746f];return _0xfcc4d;};'use strict';var _=require('lodash');var util=require(_0xccea('0x0'));var logger=require(_0xccea('0x1'))(_0xccea('0x2'));var moment=require(_0xccea('0x3'));var BPromise=require(_0xccea('0x4'));var rp=require(_0xccea('0x5'));var fs=require('fs');var path=require(_0xccea('0x6'));var rimraf=require(_0xccea('0x7'));var config=require('../../config/environment');var attributes=require(_0xccea('0x8'));module[_0xccea('0x9')]=function(_0x160ded,_0x21d5ff){return _0x160ded[_0xccea('0xa')]('ServicenowField',attributes,{'tableName':_0xccea('0xb'),'paranoid':![],'indexes':[{'name':_0xccea('0xc'),'fields':[_0xccea('0xd'),_0xccea('0xe')],'unique':!![]}],'timestamps':!![]});};