Built motion from commit (unavailable).|2.5.19
[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 _0xe260=['api','moment','bluebird','request-promise','path','rimraf','./cloudProvider.attributes','exports','CloudProvider','cloud_providers','../../config/logger'];(function(_0x19490b,_0x49e59b){var _0x18ecde=function(_0x6b8e96){while(--_0x6b8e96){_0x19490b['push'](_0x19490b['shift']());}};_0x18ecde(++_0x49e59b);}(_0xe260,0xf1));var _0x0e26=function(_0x1f0ab2,_0x4dd51c){_0x1f0ab2=_0x1f0ab2-0x0;var _0xffb46e=_0xe260[_0x1f0ab2];return _0xffb46e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x0e26('0x0'))(_0x0e26('0x1'));var moment=require(_0x0e26('0x2'));var BPromise=require(_0x0e26('0x3'));var rp=require(_0x0e26('0x4'));var fs=require('fs');var path=require(_0x0e26('0x5'));var rimraf=require(_0x0e26('0x6'));var config=require('../../config/environment');var attributes=require(_0x0e26('0x7'));module[_0x0e26('0x8')]=function(_0x2770e,_0x373b87){return _0x2770e['define'](_0x0e26('0x9'),attributes,{'tableName':_0x0e26('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};