Built motion from commit d5e4af8c.|2.6.23
[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 _0x65e2=['../../config/environment','./intDynamics365Field.attributes','exports','dynamics365_unique_index','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x6b1b0e,_0x1123b5){var _0x3967ce=function(_0x465bba){while(--_0x465bba){_0x6b1b0e['push'](_0x6b1b0e['shift']());}};_0x3967ce(++_0x1123b5);}(_0x65e2,0xad));var _0x265e=function(_0x23103a,_0x444e3f){_0x23103a=_0x23103a-0x0;var _0x56bcc6=_0x65e2[_0x23103a];return _0x56bcc6;};'use strict';var _=require(_0x265e('0x0'));var util=require(_0x265e('0x1'));var logger=require(_0x265e('0x2'))(_0x265e('0x3'));var moment=require(_0x265e('0x4'));var BPromise=require(_0x265e('0x5'));var rp=require(_0x265e('0x6'));var fs=require('fs');var path=require(_0x265e('0x7'));var rimraf=require(_0x265e('0x8'));var config=require(_0x265e('0x9'));var attributes=require(_0x265e('0xa'));module[_0x265e('0xb')]=function(_0x44a00f,_0x1e9307){return _0x44a00f['define']('Dynamics365Field',attributes,{'tableName':'int_dynamics365_fields','paranoid':![],'indexes':[{'name':_0x265e('0xc'),'fields':['idField',_0x265e('0xd')],'unique':!![]}],'timestamps':!![]});};