Built motion from commit (unavailable).|2.5.20
[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 _0xd938=['request-promise','rimraf','../../config/environment','./intServicenowField.attributes','define','ServicenowField','int_servicenow_fields','servicenow_unique_index','util','api','moment','bluebird'];(function(_0x20e535,_0x433c88){var _0x49656f=function(_0x24b9ff){while(--_0x24b9ff){_0x20e535['push'](_0x20e535['shift']());}};_0x49656f(++_0x433c88);}(_0xd938,0xc8));var _0x8d93=function(_0x5cd6de,_0x4cf688){_0x5cd6de=_0x5cd6de-0x0;var _0x5dc0dc=_0xd938[_0x5cd6de];return _0x5dc0dc;};'use strict';var _=require('lodash');var util=require(_0x8d93('0x0'));var logger=require('../../config/logger')(_0x8d93('0x1'));var moment=require(_0x8d93('0x2'));var BPromise=require(_0x8d93('0x3'));var rp=require(_0x8d93('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8d93('0x5'));var config=require(_0x8d93('0x6'));var attributes=require(_0x8d93('0x7'));module['exports']=function(_0x5e9fb1,_0x302570){return _0x5e9fb1[_0x8d93('0x8')](_0x8d93('0x9'),attributes,{'tableName':_0x8d93('0xa'),'paranoid':![],'indexes':[{'name':_0x8d93('0xb'),'fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});};