Built motion from commit (unavailable).|2.5.15
[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 _0x5e22=['bluebird','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','exports','cloud_providers','lodash','util','../../config/logger','moment'];(function(_0x507637,_0x209144){var _0x50c7bc=function(_0x32a421){while(--_0x32a421){_0x507637['push'](_0x507637['shift']());}};_0x50c7bc(++_0x209144);}(_0x5e22,0x170));var _0x25e2=function(_0x599e60,_0x5b6519){_0x599e60=_0x599e60-0x0;var _0x468e19=_0x5e22[_0x599e60];return _0x468e19;};'use strict';var _=require(_0x25e2('0x0'));var util=require(_0x25e2('0x1'));var logger=require(_0x25e2('0x2'))('api');var moment=require(_0x25e2('0x3'));var BPromise=require(_0x25e2('0x4'));var rp=require(_0x25e2('0x5'));var fs=require('fs');var path=require(_0x25e2('0x6'));var rimraf=require(_0x25e2('0x7'));var config=require(_0x25e2('0x8'));var attributes=require(_0x25e2('0x9'));module[_0x25e2('0xa')]=function(_0x2f83c0,_0x5f1eed){return _0x2f83c0['define']('CloudProvider',attributes,{'tableName':_0x25e2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};