bede04dc2274d0016f6401497ddf21d397692ecc
[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 _0xb83d=['path','rimraf','../../config/environment','./cloudProvider.attributes','exports','CloudProvider','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x438270,_0xadaaba){var _0x1e6b70=function(_0x22f644){while(--_0x22f644){_0x438270['push'](_0x438270['shift']());}};_0x1e6b70(++_0xadaaba);}(_0xb83d,0x192));var _0xdb83=function(_0x16a7a7,_0x3bc0d5){_0x16a7a7=_0x16a7a7-0x0;var _0x318657=_0xb83d[_0x16a7a7];return _0x318657;};'use strict';var _=require(_0xdb83('0x0'));var util=require('util');var logger=require(_0xdb83('0x1'))(_0xdb83('0x2'));var moment=require(_0xdb83('0x3'));var BPromise=require(_0xdb83('0x4'));var rp=require(_0xdb83('0x5'));var fs=require('fs');var path=require(_0xdb83('0x6'));var rimraf=require(_0xdb83('0x7'));var config=require(_0xdb83('0x8'));var attributes=require(_0xdb83('0x9'));module[_0xdb83('0xa')]=function(_0x30802a,_0x3a7478){return _0x30802a['define'](_0xdb83('0xb'),attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});};