f2d66039fa1aee92b9b0071fdd09c8cf5fb5781e
[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 _0x96e1=['lodash','util','../../config/logger','bluebird','request-promise','path','../../config/environment','exports'];(function(_0x999b85,_0x1edc2b){var _0x1d7124=function(_0x59cd29){while(--_0x59cd29){_0x999b85['push'](_0x999b85['shift']());}};_0x1d7124(++_0x1edc2b);}(_0x96e1,0x90));var _0x196e=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x96e1[_0x40a045];return _0x1a687c;};'use strict';var _=require(_0x196e('0x0'));var util=require(_0x196e('0x1'));var logger=require(_0x196e('0x2'))('api');var moment=require('moment');var BPromise=require(_0x196e('0x3'));var rp=require(_0x196e('0x4'));var fs=require('fs');var path=require(_0x196e('0x5'));var rimraf=require('rimraf');var config=require(_0x196e('0x6'));var attributes=require('./cloudProvider.attributes');module[_0x196e('0x7')]=function(_0x5e0625,_0x19b473){return _0x5e0625['define']('CloudProvider',attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});};