Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / intDynamics365Account / intDynamics365Account.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 _0x329f=['exports','define','Dynamics365Account','int_dynamics365_accounts','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x5c9aa4,_0x208119){var _0x90b9db=function(_0x1da504){while(--_0x1da504){_0x5c9aa4['push'](_0x5c9aa4['shift']());}};_0x90b9db(++_0x208119);}(_0x329f,0x88));var _0xf329=function(_0x449354,_0x297da4){_0x449354=_0x449354-0x0;var _0x514564=_0x329f[_0x449354];return _0x514564;};'use strict';var _=require(_0xf329('0x0'));var util=require(_0xf329('0x1'));var logger=require(_0xf329('0x2'))(_0xf329('0x3'));var moment=require(_0xf329('0x4'));var BPromise=require(_0xf329('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf329('0x6'));var config=require(_0xf329('0x7'));var attributes=require('./intDynamics365Account.attributes');var integrations=require('../../components/integrations/configuration');module[_0xf329('0x8')]=function(_0x52768e,_0x2eacbe){return _0x52768e[_0xf329('0x9')](_0xf329('0xa'),attributes,{'tableName':_0xf329('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};