Built motion from commit (unavailable).|2.6.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 _0x2960=['CloudProvider','cloud_providers','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','exports','define'];(function(_0x1f01a4,_0x421b20){var _0x1837b6=function(_0x3cbd0c){while(--_0x3cbd0c){_0x1f01a4['push'](_0x1f01a4['shift']());}};_0x1837b6(++_0x421b20);}(_0x2960,0x161));var _0x0296=function(_0xb29bef,_0x45aff1){_0xb29bef=_0xb29bef-0x0;var _0x878163=_0x2960[_0xb29bef];return _0x878163;};'use strict';var _=require('lodash');var util=require(_0x0296('0x0'));var logger=require(_0x0296('0x1'))(_0x0296('0x2'));var moment=require('moment');var BPromise=require(_0x0296('0x3'));var rp=require(_0x0296('0x4'));var fs=require('fs');var path=require(_0x0296('0x5'));var rimraf=require(_0x0296('0x6'));var config=require(_0x0296('0x7'));var attributes=require(_0x0296('0x8'));module[_0x0296('0x9')]=function(_0x268c4f,_0x53ae80){return _0x268c4f[_0x0296('0xa')](_0x0296('0xb'),attributes,{'tableName':_0x0296('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};