1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xf588=['util','../../config/logger','moment','request-promise','rimraf','./intDynamics365Field.attributes','exports','Dynamics365Field','int_dynamics365_fields','idField','lodash'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0xf588,0x1cd));var _0x8f58=function(_0x5d6b17,_0xead78a){_0x5d6b17=_0x5d6b17-0x0;var _0x27f93f=_0xf588[_0x5d6b17];return _0x27f93f;};'use strict';var _=require(_0x8f58('0x0'));var util=require(_0x8f58('0x1'));var logger=require(_0x8f58('0x2'))('api');var moment=require(_0x8f58('0x3'));var BPromise=require('bluebird');var rp=require(_0x8f58('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8f58('0x5'));var config=require('../../config/environment');var attributes=require(_0x8f58('0x6'));module[_0x8f58('0x7')]=function(_0x372b89,_0x158f6){return _0x372b89['define'](_0x8f58('0x8'),attributes,{'tableName':_0x8f58('0x9'),'paranoid':![],'indexes':[{'name':'dynamics365_unique_index','fields':[_0x8f58('0xa'),'FieldId'],'unique':!![]}],'timestamps':!![]});};