9a52ada98c10120d2fac5274fb106703058f2c8b
[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 _0xfa6c=['servicenow_unique_index','idField','FieldId','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./intServicenowField.attributes','exports','define','int_servicenow_fields'];(function(_0x3f9e91,_0x5ba525){var _0x530c9b=function(_0x10fcee){while(--_0x10fcee){_0x3f9e91['push'](_0x3f9e91['shift']());}};_0x530c9b(++_0x5ba525);}(_0xfa6c,0x1e3));var _0xcfa6=function(_0x33504c,_0x227cb0){_0x33504c=_0x33504c-0x0;var _0x5717d1=_0xfa6c[_0x33504c];return _0x5717d1;};'use strict';var _=require(_0xcfa6('0x0'));var util=require(_0xcfa6('0x1'));var logger=require(_0xcfa6('0x2'))(_0xcfa6('0x3'));var moment=require(_0xcfa6('0x4'));var BPromise=require('bluebird');var rp=require(_0xcfa6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcfa6('0x6'));var config=require(_0xcfa6('0x7'));var attributes=require(_0xcfa6('0x8'));module[_0xcfa6('0x9')]=function(_0x39e1a4,_0x55bf58){return _0x39e1a4[_0xcfa6('0xa')]('ServicenowField',attributes,{'tableName':_0xcfa6('0xb'),'paranoid':![],'indexes':[{'name':_0xcfa6('0xc'),'fields':[_0xcfa6('0xd'),_0xcfa6('0xe')],'unique':!![]}],'timestamps':!![]});};