fd54f80e82920827cecb6fb15a569fb9ca2f8337
[motion2.git] / server / api / intDynamics365Field / intDynamics365Field.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 _0x8eb8=['rimraf','../../config/environment','./intDynamics365Field.attributes','exports','define','dynamics365_unique_index','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x102457,_0x569aa7){var _0x8fe09c=function(_0x18b1ef){while(--_0x18b1ef){_0x102457['push'](_0x102457['shift']());}};_0x8fe09c(++_0x569aa7);}(_0x8eb8,0xa1));var _0x88eb=function(_0x59ef70,_0xc73397){_0x59ef70=_0x59ef70-0x0;var _0x11ce5a=_0x8eb8[_0x59ef70];return _0x11ce5a;};'use strict';var _=require(_0x88eb('0x0'));var util=require(_0x88eb('0x1'));var logger=require(_0x88eb('0x2'))(_0x88eb('0x3'));var moment=require(_0x88eb('0x4'));var BPromise=require(_0x88eb('0x5'));var rp=require(_0x88eb('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x88eb('0x7'));var config=require(_0x88eb('0x8'));var attributes=require(_0x88eb('0x9'));module[_0x88eb('0xa')]=function(_0x11d2df,_0x574814){return _0x11d2df[_0x88eb('0xb')]('Dynamics365Field',attributes,{'tableName':'int_dynamics365_fields','paranoid':![],'indexes':[{'name':_0x88eb('0xc'),'fields':['idField',_0x88eb('0xd')],'unique':!![]}],'timestamps':!![]});};