cd565caa52703d9eeeb2132525eead2501118c4e
[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 _0xfc0b=['./cloudProvider.attributes','define','cloud_providers','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x134c2e,_0x3573c4){var _0x2825db=function(_0x2a574d){while(--_0x2a574d){_0x134c2e['push'](_0x134c2e['shift']());}};_0x2825db(++_0x3573c4);}(_0xfc0b,0x78));var _0xbfc0=function(_0x4b140b,_0x23a18d){_0x4b140b=_0x4b140b-0x0;var _0x5ab7b3=_0xfc0b[_0x4b140b];return _0x5ab7b3;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xbfc0('0x0'))(_0xbfc0('0x1'));var moment=require(_0xbfc0('0x2'));var BPromise=require(_0xbfc0('0x3'));var rp=require(_0xbfc0('0x4'));var fs=require('fs');var path=require(_0xbfc0('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xbfc0('0x6'));module['exports']=function(_0x1db10d,_0x32ac62){return _0x1db10d[_0xbfc0('0x7')]('CloudProvider',attributes,{'tableName':_0xbfc0('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};