Built motion from commit efa66e19.|2.6.22
[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 _0x263e=['define','int_servicenow_fields','idField','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes'];(function(_0x4202fb,_0x105439){var _0x402b44=function(_0x5aa569){while(--_0x5aa569){_0x4202fb['push'](_0x4202fb['shift']());}};_0x402b44(++_0x105439);}(_0x263e,0x121));var _0xe263=function(_0x5b697a,_0x280202){_0x5b697a=_0x5b697a-0x0;var _0x5de43b=_0x263e[_0x5b697a];return _0x5de43b;};'use strict';var _=require(_0xe263('0x0'));var util=require(_0xe263('0x1'));var logger=require(_0xe263('0x2'))(_0xe263('0x3'));var moment=require(_0xe263('0x4'));var BPromise=require(_0xe263('0x5'));var rp=require(_0xe263('0x6'));var fs=require('fs');var path=require(_0xe263('0x7'));var rimraf=require(_0xe263('0x8'));var config=require(_0xe263('0x9'));var attributes=require(_0xe263('0xa'));module['exports']=function(_0x1dd617,_0x53a53c){return _0x1dd617[_0xe263('0xb')]('ServicenowField',attributes,{'tableName':_0xe263('0xc'),'paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0xe263('0xd'),_0xe263('0xe')],'unique':!![]}],'timestamps':!![]});};