Built motion from commit (unavailable).|2.5.30
[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 _0xf298=['util','api','path','rimraf','../../config/environment','./intDynamics365Field.attributes','exports','define','Dynamics365Field','int_dynamics365_fields','dynamics365_unique_index','lodash'];(function(_0xb7f806,_0x4d5be1){var _0x333d64=function(_0x118a21){while(--_0x118a21){_0xb7f806['push'](_0xb7f806['shift']());}};_0x333d64(++_0x4d5be1);}(_0xf298,0xcb));var _0x8f29=function(_0x4f6309,_0xe71e00){_0x4f6309=_0x4f6309-0x0;var _0x1c43af=_0xf298[_0x4f6309];return _0x1c43af;};'use strict';var _=require(_0x8f29('0x0'));var util=require(_0x8f29('0x1'));var logger=require('../../config/logger')(_0x8f29('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x8f29('0x3'));var rimraf=require(_0x8f29('0x4'));var config=require(_0x8f29('0x5'));var attributes=require(_0x8f29('0x6'));module[_0x8f29('0x7')]=function(_0x1e24cc,_0x430e8a){return _0x1e24cc[_0x8f29('0x8')](_0x8f29('0x9'),attributes,{'tableName':_0x8f29('0xa'),'paranoid':![],'indexes':[{'name':_0x8f29('0xb'),'fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});};