d5cc236a734eeae1fa54ba15321b45fc634ee8c8
[motion2.git] / server / api / intZendeskAccount / intZendeskAccount.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 _0x202a=['exports','STRING','username','remoteUri','ENUM','password','newTab','integrationTab'];(function(_0x3d96c3,_0x28474b){var _0x33837c=function(_0x4eee94){while(--_0x4eee94){_0x3d96c3['push'](_0x3d96c3['shift']());}};_0x33837c(++_0x28474b);}(_0x202a,0xc0));var _0xa202=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x202a[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module[_0xa202('0x0')]={'name':{'type':Sequelize[_0xa202('0x1')]},'description':{'type':Sequelize[_0xa202('0x1')]},'username':{'type':Sequelize['STRING'],'unique':_0xa202('0x2')},'password':{'type':Sequelize['STRING']},'token':{'type':Sequelize['STRING']},'remoteUri':{'type':Sequelize['STRING'],'unique':_0xa202('0x3')},'authType':{'type':Sequelize[_0xa202('0x4')]('password','token'),'defaultValue':_0xa202('0x5')},'serverUrl':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize['ENUM']('integrationTab',_0xa202('0x6')),'defaultValue':_0xa202('0x7')}};