Built motion from commit (unavailable).|2.5.14
[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 _0xeb02=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes','exports','ServicenowField','idField','lodash','util'];(function(_0x2b5eae,_0x55010d){var _0x5f3ac9=function(_0x397bfc){while(--_0x397bfc){_0x2b5eae['push'](_0x2b5eae['shift']());}};_0x5f3ac9(++_0x55010d);}(_0xeb02,0xe8));var _0x2eb0=function(_0x2ad9b3,_0x4b77a1){_0x2ad9b3=_0x2ad9b3-0x0;var _0x43fce5=_0xeb02[_0x2ad9b3];return _0x43fce5;};'use strict';var _=require(_0x2eb0('0x0'));var util=require(_0x2eb0('0x1'));var logger=require('../../config/logger')(_0x2eb0('0x2'));var moment=require(_0x2eb0('0x3'));var BPromise=require(_0x2eb0('0x4'));var rp=require(_0x2eb0('0x5'));var fs=require('fs');var path=require(_0x2eb0('0x6'));var rimraf=require(_0x2eb0('0x7'));var config=require(_0x2eb0('0x8'));var attributes=require(_0x2eb0('0x9'));module[_0x2eb0('0xa')]=function(_0x1638eb,_0x1dee70){return _0x1638eb['define'](_0x2eb0('0xb'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0x2eb0('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});};