Built motion from commit d5e4af8c.|2.6.23
[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 _0xefe3=['util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','exports','define','CloudProvider','lodash'];(function(_0x552bd8,_0x4f6540){var _0x52fbce=function(_0x1c4cb1){while(--_0x1c4cb1){_0x552bd8['push'](_0x552bd8['shift']());}};_0x52fbce(++_0x4f6540);}(_0xefe3,0x192));var _0x3efe=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xefe3[_0x122ef9];return _0x42fba0;};'use strict';var _=require(_0x3efe('0x0'));var util=require(_0x3efe('0x1'));var logger=require(_0x3efe('0x2'))(_0x3efe('0x3'));var moment=require('moment');var BPromise=require(_0x3efe('0x4'));var rp=require(_0x3efe('0x5'));var fs=require('fs');var path=require(_0x3efe('0x6'));var rimraf=require(_0x3efe('0x7'));var config=require(_0x3efe('0x8'));var attributes=require(_0x3efe('0x9'));module[_0x3efe('0xa')]=function(_0x9e9697,_0x5404c0){return _0x9e9697[_0x3efe('0xb')](_0x3efe('0xc'),attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});};