Built motion from commit 19a84241.|2.5.34
[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 _0x4e16=['api','bluebird','rimraf','../../config/environment','./cloudProvider.attributes','define','cloud_providers','lodash','util','../../config/logger'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x4e16,0x75));var _0x64e1=function(_0x11e213,_0x4f2b14){_0x11e213=_0x11e213-0x0;var _0x504df2=_0x4e16[_0x11e213];return _0x504df2;};'use strict';var _=require(_0x64e1('0x0'));var util=require(_0x64e1('0x1'));var logger=require(_0x64e1('0x2'))(_0x64e1('0x3'));var moment=require('moment');var BPromise=require(_0x64e1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x64e1('0x5'));var config=require(_0x64e1('0x6'));var attributes=require(_0x64e1('0x7'));module['exports']=function(_0x1dec21,_0x25cdff){return _0x1dec21[_0x64e1('0x8')]('CloudProvider',attributes,{'tableName':_0x64e1('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};