709a7da009521e933090d1ddb1f936bb3aed846e
[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 _0x58eb=['rimraf','exports','define','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2d52a3,_0x43e0b9){var _0x288a4b=function(_0x1bdfda){while(--_0x1bdfda){_0x2d52a3['push'](_0x2d52a3['shift']());}};_0x288a4b(++_0x43e0b9);}(_0x58eb,0xcb));var _0xb58e=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0x58eb[_0x2be8c2];return _0x97f531;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xb58e('0x0'))(_0xb58e('0x1'));var moment=require(_0xb58e('0x2'));var BPromise=require(_0xb58e('0x3'));var rp=require(_0xb58e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb58e('0x5'));var config=require('../../config/environment');var attributes=require('./cloudProvider.attributes');module[_0xb58e('0x6')]=function(_0x32ea33,_0x549c26){return _0x32ea33[_0xb58e('0x7')]('CloudProvider',attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});};