Built motion from commit 0900f080.|2.5.45
[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 _0x75cf=['request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','exports','define','CloudProvider','lodash','util','../../config/logger','api'];(function(_0x2c4b06,_0x5e8a08){var _0x3669d5=function(_0x1700a4){while(--_0x1700a4){_0x2c4b06['push'](_0x2c4b06['shift']());}};_0x3669d5(++_0x5e8a08);}(_0x75cf,0x1f4));var _0xf75c=function(_0x405d0f,_0x15924b){_0x405d0f=_0x405d0f-0x0;var _0x366e83=_0x75cf[_0x405d0f];return _0x366e83;};'use strict';var _=require(_0xf75c('0x0'));var util=require(_0xf75c('0x1'));var logger=require(_0xf75c('0x2'))(_0xf75c('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf75c('0x4'));var fs=require('fs');var path=require(_0xf75c('0x5'));var rimraf=require(_0xf75c('0x6'));var config=require(_0xf75c('0x7'));var attributes=require(_0xf75c('0x8'));module[_0xf75c('0x9')]=function(_0x4d635e,_0x629473){return _0x4d635e[_0xf75c('0xa')](_0xf75c('0xb'),attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});};