0bed30e846dda89adab6642bbc0ed5731dfbe36d
[motion2.git] / server / api / cloudProvider / cloudProvider.attributes.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 _0x8b78=['MicrosoftAzure\x20=>\x20access_token','MicrosoftAzure\x20=>\x20Dynamics365\x20=>\x20remote_uri','sequelize','STRING','ENUM','AmazonAWS','Google','Dynamics365','MicrosoftAzure\x20=>\x20client_secret','TEXT'];(function(_0x415b01,_0x2d427b){var _0x20ee79=function(_0x310391){while(--_0x310391){_0x415b01['push'](_0x415b01['shift']());}};_0x20ee79(++_0x2d427b);}(_0x8b78,0x7a));var _0x88b7=function(_0x572efc,_0x448777){_0x572efc=_0x572efc-0x0;var _0x413052=_0x8b78[_0x572efc];return _0x413052;};'use strict';var Sequelize=require(_0x88b7('0x0'));module['exports']={'name':{'type':Sequelize[_0x88b7('0x1')],'allowNull':![],'validate':{'notEmpty':!![]}},'service':{'type':Sequelize[_0x88b7('0x2')](_0x88b7('0x3'),_0x88b7('0x4'),'MicrosoftAzure'),'allowNull':![],'validate':{'notEmpty':!![]}},'type':{'type':Sequelize['ENUM']('Outlook365',_0x88b7('0x5'))},'data1':{'type':Sequelize[_0x88b7('0x1')],'comment':'MicrosoftAzure\x20=>\x20client_id'},'data2':{'type':Sequelize[_0x88b7('0x1')],'comment':'MicrosoftAzure\x20=>\x20tenant'},'data3':{'type':Sequelize[_0x88b7('0x1')],'comment':_0x88b7('0x6')},'data4':{'type':Sequelize[_0x88b7('0x1')],'comment':'MicrosoftAzure\x20=>\x20redirect_uri'},'data5':{'type':Sequelize[_0x88b7('0x7')],'comment':_0x88b7('0x8')},'data6':{'type':Sequelize[_0x88b7('0x7')],'comment':'MicrosoftAzure\x20=>\x20refresh_token'},'data7':{'type':Sequelize[_0x88b7('0x7')],'comment':_0x88b7('0x9')}};