1164f8d6e1ecf1fa54e9e167b78ebf502f7f31e3
[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 _0x175c=['../../config/environment','./intDynamics365Field.attributes','exports','int_dynamics365_fields','dynamics365_unique_index','idField','util','api','request-promise','path','rimraf'];(function(_0x9df060,_0x253d33){var _0x338dfe=function(_0x17d9a5){while(--_0x17d9a5){_0x9df060['push'](_0x9df060['shift']());}};_0x338dfe(++_0x253d33);}(_0x175c,0x103));var _0xc175=function(_0x33a220,_0x5d83fd){_0x33a220=_0x33a220-0x0;var _0x4af1f0=_0x175c[_0x33a220];return _0x4af1f0;};'use strict';var _=require('lodash');var util=require(_0xc175('0x0'));var logger=require('../../config/logger')(_0xc175('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xc175('0x2'));var fs=require('fs');var path=require(_0xc175('0x3'));var rimraf=require(_0xc175('0x4'));var config=require(_0xc175('0x5'));var attributes=require(_0xc175('0x6'));module[_0xc175('0x7')]=function(_0x380262,_0x245d8d){return _0x380262['define']('Dynamics365Field',attributes,{'tableName':_0xc175('0x8'),'paranoid':![],'indexes':[{'name':_0xc175('0x9'),'fields':[_0xc175('0xa'),'FieldId'],'unique':!![]}],'timestamps':!![]});};