043979169fa23279451a187390e6cc5b79e63f03
[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 _0x883a=['../../config/environment','./cloudProvider.attributes','exports','cloud_providers','lodash','util','../../config/logger','bluebird','request-promise','rimraf'];(function(_0x1276d5,_0x372d37){var _0x3d62e8=function(_0x23db43){while(--_0x23db43){_0x1276d5['push'](_0x1276d5['shift']());}};_0x3d62e8(++_0x372d37);}(_0x883a,0x158));var _0xa883=function(_0x2ef4d6,_0x4c49c6){_0x2ef4d6=_0x2ef4d6-0x0;var _0x462bba=_0x883a[_0x2ef4d6];return _0x462bba;};'use strict';var _=require(_0xa883('0x0'));var util=require(_0xa883('0x1'));var logger=require(_0xa883('0x2'))('api');var moment=require('moment');var BPromise=require(_0xa883('0x3'));var rp=require(_0xa883('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa883('0x5'));var config=require(_0xa883('0x6'));var attributes=require(_0xa883('0x7'));module[_0xa883('0x8')]=function(_0x42ceb7,_0x508014){return _0x42ceb7['define']('CloudProvider',attributes,{'tableName':_0xa883('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};