import PropTypes from 'prop-types'; const T = {}; T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_vendor'] = PropTypes.exact({ name: PropTypes.string.isRequired, url: PropTypes.string.isRequired, }); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_links'] = PropTypes.exact({ homepage: PropTypes.string, api: PropTypes.string, self: PropTypes.string.isRequired, }); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_oauth2_provider'] = PropTypes.exact({ tokenUrl: PropTypes.string, authorizationUrl: PropTypes.string, }); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_installable'] = PropTypes.exact({ callbackUrl: PropTypes.string, installedUrl: PropTypes.string, allowGlobal: PropTypes.bool, allowRoom: PropTypes.bool, }); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_configuration_page'] = PropTypes.exact({ allowAccessToRoomAdmins: PropTypes.string, url: PropTypes.string.isRequired, }); T['com.teambytes.hipchat.sns.bridge.v0.enums.hipchat_scope'] = PropTypes.oneOf(['send_message', 'send_notification']); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_api_consumer'] = PropTypes.exact({ scopes: PropTypes.arrayOf(T['com.teambytes.hipchat.sns.bridge.v0.enums.hipchat_scope']).isRequired, fromName: PropTypes.string, }); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_capabilities'] = PropTypes.exact({ configurable: T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_configuration_page'], hipchatApiConsumer: T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_api_consumer'], installable: T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_installable'], oauth2Provider: T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_oauth2_provider'], }); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_capabilities_descriptor'] = PropTypes.exact({ name: PropTypes.string.isRequired, description: PropTypes.string.isRequired, key: PropTypes.string.isRequired, apiVersion: PropTypes.string, capabilities: T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_capabilities'], links: T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_links'].isRequired, vendor: T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_vendor'], }); T['com.teambytes.hipchat.sns.bridge.v0.models.error'] = PropTypes.exact({ description: PropTypes.string.isRequired, }); T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_install_data'] = PropTypes.exact({ capabilitiesUrl: PropTypes.string.isRequired, oauthId: PropTypes.string.isRequired, oauthSecret: PropTypes.string.isRequired, groupId: PropTypes.number.isRequired, roomId: PropTypes.string, }); T['com.teambytes.hipchat.sns.bridge.v0.models.service_info'] = PropTypes.exact({ name: PropTypes.string.isRequired, version: PropTypes.string.isRequired, scala_version: PropTypes.string.isRequired, sbt_version: PropTypes.string.isRequired, build_time: PropTypes.string.isRequired, }); T['com.teambytes.hipchat.sns.bridge.v0.models.sns_notification'] = PropTypes.exact({ Type: PropTypes.string.isRequired, MessageId: PropTypes.string.isRequired, TopicArn: PropTypes.string.isRequired, Message: PropTypes.string.isRequired, Timestamp: PropTypes.string.isRequired, SignatureVersion: PropTypes.string.isRequired, Signature: PropTypes.string.isRequired, SigningCertURL: PropTypes.string.isRequired, Token: PropTypes.string, Subject: PropTypes.string, SubscribeURL: PropTypes.string, UnsubscribeURL: PropTypes.string, }); export const error = T['com.teambytes.hipchat.sns.bridge.v0.models.error']; export const hipchatApiConsumer = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_api_consumer']; export const hipchatCapabilities = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_capabilities']; export const hipchatCapabilitiesDescriptor = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_capabilities_descriptor']; export const hipchatConfigurationPage = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_configuration_page']; export const hipchatInstallData = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_install_data']; export const hipchatInstallable = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_installable']; export const hipchatLinks = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_links']; export const hipchatOauth2Provider = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_oauth2_provider']; export const hipchatScope = T['com.teambytes.hipchat.sns.bridge.v0.enums.hipchat_scope']; export const hipchatVendor = T['com.teambytes.hipchat.sns.bridge.v0.models.hipchat_vendor']; export const serviceInfo = T['com.teambytes.hipchat.sns.bridge.v0.models.service_info']; export const snsNotification = T['com.teambytes.hipchat.sns.bridge.v0.models.sns_notification'];