Built motion from commit (unavailable).|2.5.16
[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 _0x0b69=['path','rimraf','./intServicenowField.attributes','exports','define','ServicenowField','idField','FieldId','lodash','../../config/logger','api'];(function(_0x3452a8,_0x4bfaa4){var _0x233814=function(_0x40b537){while(--_0x40b537){_0x3452a8['push'](_0x3452a8['shift']());}};_0x233814(++_0x4bfaa4);}(_0x0b69,0x189));var _0x90b6=function(_0x16c0d6,_0x485e9a){_0x16c0d6=_0x16c0d6-0x0;var _0xb39beb=_0x0b69[_0x16c0d6];return _0xb39beb;};'use strict';var _=require(_0x90b6('0x0'));var util=require('util');var logger=require(_0x90b6('0x1'))(_0x90b6('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x90b6('0x3'));var rimraf=require(_0x90b6('0x4'));var config=require('../../config/environment');var attributes=require(_0x90b6('0x5'));module[_0x90b6('0x6')]=function(_0x3f1b0a,_0x14678b){return _0x3f1b0a[_0x90b6('0x7')](_0x90b6('0x8'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0x90b6('0x9'),_0x90b6('0xa')],'unique':!![]}],'timestamps':!![]});};