f63cd1f4e1688704f2a5f80b0eefe0b5057af017
[motion2.git] / server / api / cloudProvider / cloudProvider.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 _0xe15d=['exports','define','CloudProvider','cloud_providers','util','api','moment','request-promise','rimraf','./cloudProvider.attributes'];(function(_0x361026,_0x2375e2){var _0x37028e=function(_0x4f89e0){while(--_0x4f89e0){_0x361026['push'](_0x361026['shift']());}};_0x37028e(++_0x2375e2);}(_0xe15d,0xc2));var _0xde15=function(_0x150096,_0x413529){_0x150096=_0x150096-0x0;var _0x5cad77=_0xe15d[_0x150096];return _0x5cad77;};'use strict';var _=require('lodash');var util=require(_0xde15('0x0'));var logger=require('../../config/logger')(_0xde15('0x1'));var moment=require(_0xde15('0x2'));var BPromise=require('bluebird');var rp=require(_0xde15('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xde15('0x4'));var config=require('../../config/environment');var attributes=require(_0xde15('0x5'));module[_0xde15('0x6')]=function(_0x4ecb06,_0x186ec5){return _0x4ecb06[_0xde15('0x7')](_0xde15('0x8'),attributes,{'tableName':_0xde15('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};