2fa670132222f326555d26a4a82cf51a260ff612
[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 _0xf56e=['./intDynamics365Field.attributes','exports','Dynamics365Field','int_dynamics365_fields','dynamics365_unique_index','idField','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x31e29a,_0x349c9b){var _0x32d892=function(_0x41cc86){while(--_0x41cc86){_0x31e29a['push'](_0x31e29a['shift']());}};_0x32d892(++_0x349c9b);}(_0xf56e,0x166));var _0xef56=function(_0x4826f7,_0x14ab8b){_0x4826f7=_0x4826f7-0x0;var _0x88cdac=_0xf56e[_0x4826f7];return _0x88cdac;};'use strict';var _=require(_0xef56('0x0'));var util=require(_0xef56('0x1'));var logger=require(_0xef56('0x2'))(_0xef56('0x3'));var moment=require(_0xef56('0x4'));var BPromise=require(_0xef56('0x5'));var rp=require(_0xef56('0x6'));var fs=require('fs');var path=require(_0xef56('0x7'));var rimraf=require(_0xef56('0x8'));var config=require(_0xef56('0x9'));var attributes=require(_0xef56('0xa'));module[_0xef56('0xb')]=function(_0x5169dc,_0x5333e0){return _0x5169dc['define'](_0xef56('0xc'),attributes,{'tableName':_0xef56('0xd'),'paranoid':![],'indexes':[{'name':_0xef56('0xe'),'fields':[_0xef56('0xf'),'FieldId'],'unique':!![]}],'timestamps':!![]});};