Built motion from commit 10af8726.|2.6.34
[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 _0xabe0=['lodash','util','../../config/logger','api','path','rimraf','../../config/environment','./intServicenowField.attributes','exports','define','int_servicenow_fields','servicenow_unique_index','idField'];(function(_0xbafdca,_0x47b9eb){var _0x2c85ae=function(_0x595c69){while(--_0x595c69){_0xbafdca['push'](_0xbafdca['shift']());}};_0x2c85ae(++_0x47b9eb);}(_0xabe0,0x11e));var _0x0abe=function(_0x29cc97,_0x3598db){_0x29cc97=_0x29cc97-0x0;var _0x5cd618=_0xabe0[_0x29cc97];return _0x5cd618;};'use strict';var _=require(_0x0abe('0x0'));var util=require(_0x0abe('0x1'));var logger=require(_0x0abe('0x2'))(_0x0abe('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0abe('0x4'));var rimraf=require(_0x0abe('0x5'));var config=require(_0x0abe('0x6'));var attributes=require(_0x0abe('0x7'));module[_0x0abe('0x8')]=function(_0x411bf6,_0x442284){return _0x411bf6[_0x0abe('0x9')]('ServicenowField',attributes,{'tableName':_0x0abe('0xa'),'paranoid':![],'indexes':[{'name':_0x0abe('0xb'),'fields':[_0x0abe('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});};