Built motion from commit (unavailable).|2.5.0
[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 _0xbc19=['path','rimraf','../../config/environment','./cloudProvider.attributes','exports','define','cloud_providers','lodash','util','moment','bluebird','request-promise'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0xbc19,0x7f));var _0x9bc1=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0xbc19[_0x4a9fb1];return _0x348672;};'use strict';var _=require(_0x9bc1('0x0'));var util=require(_0x9bc1('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x9bc1('0x2'));var BPromise=require(_0x9bc1('0x3'));var rp=require(_0x9bc1('0x4'));var fs=require('fs');var path=require(_0x9bc1('0x5'));var rimraf=require(_0x9bc1('0x6'));var config=require(_0x9bc1('0x7'));var attributes=require(_0x9bc1('0x8'));module[_0x9bc1('0x9')]=function(_0xa3713d,_0x43e59c){return _0xa3713d[_0x9bc1('0xa')]('CloudProvider',attributes,{'tableName':_0x9bc1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};