Built motion from commit (unavailable).|2.5.17
[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 _0xa271=['request-promise','path','../../config/environment','define','CloudProvider','cloud_providers','lodash','api','moment','bluebird'];(function(_0x1f223c,_0x413140){var _0x1b2d75=function(_0x22f460){while(--_0x22f460){_0x1f223c['push'](_0x1f223c['shift']());}};_0x1b2d75(++_0x413140);}(_0xa271,0x10a));var _0x1a27=function(_0x3edc22,_0x243990){_0x3edc22=_0x3edc22-0x0;var _0x1ddf50=_0xa271[_0x3edc22];return _0x1ddf50;};'use strict';var _=require(_0x1a27('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x1a27('0x1'));var moment=require(_0x1a27('0x2'));var BPromise=require(_0x1a27('0x3'));var rp=require(_0x1a27('0x4'));var fs=require('fs');var path=require(_0x1a27('0x5'));var rimraf=require('rimraf');var config=require(_0x1a27('0x6'));var attributes=require('./cloudProvider.attributes');module['exports']=function(_0x5b0ca2,_0x3d18d1){return _0x5b0ca2[_0x1a27('0x7')](_0x1a27('0x8'),attributes,{'tableName':_0x1a27('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};