Built motion from commit 2b9af5da.|2.6.26
[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 _0xdbf8=['bluebird','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','exports','cloud_providers','lodash','util','../../config/logger'];(function(_0x26f427,_0x19855d){var _0x39e1fd=function(_0x36de34){while(--_0x36de34){_0x26f427['push'](_0x26f427['shift']());}};_0x39e1fd(++_0x19855d);}(_0xdbf8,0x1b5));var _0x8dbf=function(_0x49b00c,_0x3e34f5){_0x49b00c=_0x49b00c-0x0;var _0x348b93=_0xdbf8[_0x49b00c];return _0x348b93;};'use strict';var _=require(_0x8dbf('0x0'));var util=require(_0x8dbf('0x1'));var logger=require(_0x8dbf('0x2'))('api');var moment=require('moment');var BPromise=require(_0x8dbf('0x3'));var rp=require(_0x8dbf('0x4'));var fs=require('fs');var path=require(_0x8dbf('0x5'));var rimraf=require(_0x8dbf('0x6'));var config=require(_0x8dbf('0x7'));var attributes=require(_0x8dbf('0x8'));module[_0x8dbf('0x9')]=function(_0x3f3bf5,_0x56cdb7){return _0x3f3bf5['define']('CloudProvider',attributes,{'tableName':_0x8dbf('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};