850563be9c452245e18c5ab83cf2dce30f08af87
[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 _0xc910=['CloudProvider','cloud_providers','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./cloudProvider.attributes','define'];(function(_0x357212,_0x4ee57a){var _0x3503a6=function(_0x4caecf){while(--_0x4caecf){_0x357212['push'](_0x357212['shift']());}};_0x3503a6(++_0x4ee57a);}(_0xc910,0xbd));var _0x0c91=function(_0x1bb5e7,_0x83a65b){_0x1bb5e7=_0x1bb5e7-0x0;var _0x277491=_0xc910[_0x1bb5e7];return _0x277491;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x0c91('0x0'))(_0x0c91('0x1'));var moment=require(_0x0c91('0x2'));var BPromise=require(_0x0c91('0x3'));var rp=require(_0x0c91('0x4'));var fs=require('fs');var path=require(_0x0c91('0x5'));var rimraf=require(_0x0c91('0x6'));var config=require('../../config/environment');var attributes=require(_0x0c91('0x7'));module['exports']=function(_0x1b05b8,_0x326814){return _0x1b05b8[_0x0c91('0x8')](_0x0c91('0x9'),attributes,{'tableName':_0x0c91('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};