Built motion from commit (unavailable).|2.5.3
[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 _0x0ff8=['exports','CloudProvider','cloud_providers','lodash','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes'];(function(_0x47ada7,_0x3e4cf6){var _0x4255b8=function(_0x5c2a97){while(--_0x5c2a97){_0x47ada7['push'](_0x47ada7['shift']());}};_0x4255b8(++_0x3e4cf6);}(_0x0ff8,0xbe));var _0x80ff=function(_0x17cb7b,_0x21552a){_0x17cb7b=_0x17cb7b-0x0;var _0x5e75a8=_0x0ff8[_0x17cb7b];return _0x5e75a8;};'use strict';var _=require(_0x80ff('0x0'));var util=require('util');var logger=require(_0x80ff('0x1'))(_0x80ff('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x80ff('0x3'));var fs=require('fs');var path=require(_0x80ff('0x4'));var rimraf=require(_0x80ff('0x5'));var config=require(_0x80ff('0x6'));var attributes=require(_0x80ff('0x7'));module[_0x80ff('0x8')]=function(_0x3d9c56,_0x17fe29){return _0x3d9c56['define'](_0x80ff('0x9'),attributes,{'tableName':_0x80ff('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};