eaf22229d610280c824b47135f95f8d55b962dda
[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 _0x6fca=['../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./cloudProvider.attributes','exports','define','cloud_providers','util'];(function(_0x2ec461,_0x5f588a){var _0x28603d=function(_0x21114b){while(--_0x21114b){_0x2ec461['push'](_0x2ec461['shift']());}};_0x28603d(++_0x5f588a);}(_0x6fca,0x1b7));var _0xa6fc=function(_0x3bcbbc,_0x4e7b07){_0x3bcbbc=_0x3bcbbc-0x0;var _0x52c2b5=_0x6fca[_0x3bcbbc];return _0x52c2b5;};'use strict';var _=require('lodash');var util=require(_0xa6fc('0x0'));var logger=require(_0xa6fc('0x1'))(_0xa6fc('0x2'));var moment=require(_0xa6fc('0x3'));var BPromise=require(_0xa6fc('0x4'));var rp=require(_0xa6fc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa6fc('0x6'));var attributes=require(_0xa6fc('0x7'));module[_0xa6fc('0x8')]=function(_0x237f68,_0x146d5a){return _0x237f68[_0xa6fc('0x9')]('CloudProvider',attributes,{'tableName':_0xa6fc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};