0b6e321aee55e71e6fc9b497d300653960dd9abd
[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 _0xf992=['exports','define','CloudProvider','cloud_providers','util','../../config/logger','moment','bluebird','request-promise','rimraf','./cloudProvider.attributes'];(function(_0x28129a,_0x26bb9c){var _0x41cc0d=function(_0x596e94){while(--_0x596e94){_0x28129a['push'](_0x28129a['shift']());}};_0x41cc0d(++_0x26bb9c);}(_0xf992,0xbf));var _0x2f99=function(_0x5e06a1,_0x352289){_0x5e06a1=_0x5e06a1-0x0;var _0x240dec=_0xf992[_0x5e06a1];return _0x240dec;};'use strict';var _=require('lodash');var util=require(_0x2f99('0x0'));var logger=require(_0x2f99('0x1'))('api');var moment=require(_0x2f99('0x2'));var BPromise=require(_0x2f99('0x3'));var rp=require(_0x2f99('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2f99('0x5'));var config=require('../../config/environment');var attributes=require(_0x2f99('0x6'));module[_0x2f99('0x7')]=function(_0xbd877d,_0x4ff7d8){return _0xbd877d[_0x2f99('0x8')](_0x2f99('0x9'),attributes,{'tableName':_0x2f99('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};