a892455cf6521ad2ba067e02186b3571ac4e9a5f
[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 _0xee8e=['bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes','define','ServicenowField','int_servicenow_fields','servicenow_unique_index','lodash','../../config/logger','api'];(function(_0x5a96cc,_0x3874a7){var _0x40756d=function(_0x44f9e1){while(--_0x44f9e1){_0x5a96cc['push'](_0x5a96cc['shift']());}};_0x40756d(++_0x3874a7);}(_0xee8e,0xe7));var _0xeee8=function(_0x1d705c,_0x313c01){_0x1d705c=_0x1d705c-0x0;var _0x2485b1=_0xee8e[_0x1d705c];return _0x2485b1;};'use strict';var _=require(_0xeee8('0x0'));var util=require('util');var logger=require(_0xeee8('0x1'))(_0xeee8('0x2'));var moment=require('moment');var BPromise=require(_0xeee8('0x3'));var rp=require(_0xeee8('0x4'));var fs=require('fs');var path=require(_0xeee8('0x5'));var rimraf=require(_0xeee8('0x6'));var config=require(_0xeee8('0x7'));var attributes=require(_0xeee8('0x8'));module['exports']=function(_0x236358,_0x57457f){return _0x236358[_0xeee8('0x9')](_0xeee8('0xa'),attributes,{'tableName':_0xeee8('0xb'),'paranoid':![],'indexes':[{'name':_0xeee8('0xc'),'fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});};