Built motion from commit 10af8726.|2.6.34
[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 _0x4e1d=['bluebird','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','exports','CloudProvider','lodash','util','../../config/logger','api','moment'];(function(_0x13e04d,_0x40a506){var _0x2b0a95=function(_0xfa0d96){while(--_0xfa0d96){_0x13e04d['push'](_0x13e04d['shift']());}};_0x2b0a95(++_0x40a506);}(_0x4e1d,0xe5));var _0xd4e1=function(_0x1daf5b,_0x658bbc){_0x1daf5b=_0x1daf5b-0x0;var _0x16b7a3=_0x4e1d[_0x1daf5b];return _0x16b7a3;};'use strict';var _=require(_0xd4e1('0x0'));var util=require(_0xd4e1('0x1'));var logger=require(_0xd4e1('0x2'))(_0xd4e1('0x3'));var moment=require(_0xd4e1('0x4'));var BPromise=require(_0xd4e1('0x5'));var rp=require(_0xd4e1('0x6'));var fs=require('fs');var path=require(_0xd4e1('0x7'));var rimraf=require(_0xd4e1('0x8'));var config=require(_0xd4e1('0x9'));var attributes=require(_0xd4e1('0xa'));module[_0xd4e1('0xb')]=function(_0x5557ef,_0x2c268d){return _0x5557ef['define'](_0xd4e1('0xc'),attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});};