97cd0bb7f6b15c6d843ebcc60f82d35308cb53d8
[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 _0x0e7d=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intDynamics365Account.attributes','exports','define','Dynamics365Account','int_dynamics365_accounts'];(function(_0x37dbf3,_0x4ad77d){var _0x1cda9b=function(_0x5d1a10){while(--_0x5d1a10){_0x37dbf3['push'](_0x37dbf3['shift']());}};_0x1cda9b(++_0x4ad77d);}(_0x0e7d,0x138));var _0xd0e7=function(_0x5cc8b9,_0x20e3c3){_0x5cc8b9=_0x5cc8b9-0x0;var _0x58892e=_0x0e7d[_0x5cc8b9];return _0x58892e;};'use strict';var _=require('lodash');var util=require(_0xd0e7('0x0'));var logger=require(_0xd0e7('0x1'))(_0xd0e7('0x2'));var moment=require(_0xd0e7('0x3'));var BPromise=require(_0xd0e7('0x4'));var rp=require(_0xd0e7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd0e7('0x6'));var config=require(_0xd0e7('0x7'));var attributes=require(_0xd0e7('0x8'));var integrations=require('../../components/integrations/configuration');module[_0xd0e7('0x9')]=function(_0x26b85a,_0x5c6874){return _0x26b85a[_0xd0e7('0xa')](_0xd0e7('0xb'),attributes,{'tableName':_0xd0e7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};