Built motion from commit (unavailable).|2.5.7
[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 _0x1ae5=['util','api','request-promise','path','rimraf','../../config/environment','./intDynamics365Field.attributes','define','int_dynamics365_fields','idField','lodash'];(function(_0x324255,_0x373fa1){var _0xe885e1=function(_0x1330ee){while(--_0x1330ee){_0x324255['push'](_0x324255['shift']());}};_0xe885e1(++_0x373fa1);}(_0x1ae5,0x1a1));var _0x51ae=function(_0x330de2,_0x169764){_0x330de2=_0x330de2-0x0;var _0x50563f=_0x1ae5[_0x330de2];return _0x50563f;};'use strict';var _=require(_0x51ae('0x0'));var util=require(_0x51ae('0x1'));var logger=require('../../config/logger')(_0x51ae('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x51ae('0x3'));var fs=require('fs');var path=require(_0x51ae('0x4'));var rimraf=require(_0x51ae('0x5'));var config=require(_0x51ae('0x6'));var attributes=require(_0x51ae('0x7'));module['exports']=function(_0x562dcf,_0x5f3e60){return _0x562dcf[_0x51ae('0x8')]('Dynamics365Field',attributes,{'tableName':_0x51ae('0x9'),'paranoid':![],'indexes':[{'name':'dynamics365_unique_index','fields':[_0x51ae('0xa'),'FieldId'],'unique':!![]}],'timestamps':!![]});};