Skip to content

Commit

Permalink
Merge pull request #226 from RedHatInsights/rename-exports
Browse files Browse the repository at this point in the history
Shorten api names to prevent confusion
  • Loading branch information
Hyperkid123 authored Mar 21, 2024
2 parents f9cafa3 + ee82411 commit b7d834a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
24 changes: 12 additions & 12 deletions packages/integrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,51 @@ export * from './utils/common';
export * from './utils/configuration';
export * from './types'

export { default as endpointResourceV1CreateEndpointParamCreator } from './EndpointResourceV1CreateEndpoint'
export { default as endpointResourceV1CreateEndpoint } from './EndpointResourceV1CreateEndpoint'


// end of operations block
export { default as endpointResourceV1DeleteEndpointParamCreator } from './EndpointResourceV1DeleteEndpoint'
export { default as endpointResourceV1DeleteEndpoint } from './EndpointResourceV1DeleteEndpoint'


// end of operations block
export { default as endpointResourceV1DisableEndpointParamCreator } from './EndpointResourceV1DisableEndpoint'
export { default as endpointResourceV1DisableEndpoint } from './EndpointResourceV1DisableEndpoint'


// end of operations block
export { default as endpointResourceV1EnableEndpointParamCreator } from './EndpointResourceV1EnableEndpoint'
export { default as endpointResourceV1EnableEndpoint } from './EndpointResourceV1EnableEndpoint'


// end of operations block
export { default as endpointResourceV1GetDetailedEndpointHistoryParamCreator } from './EndpointResourceV1GetDetailedEndpointHistory'
export { default as endpointResourceV1GetDetailedEndpointHistory } from './EndpointResourceV1GetDetailedEndpointHistory'


// end of operations block
export { default as endpointResourceV1GetEndpointParamCreator } from './EndpointResourceV1GetEndpoint'
export { default as endpointResourceV1GetEndpoint } from './EndpointResourceV1GetEndpoint'


// end of operations block
export { default as endpointResourceV1GetEndpointHistoryParamCreator } from './EndpointResourceV1GetEndpointHistory'
export { default as endpointResourceV1GetEndpointHistory } from './EndpointResourceV1GetEndpointHistory'


// end of operations block
export { default as endpointResourceV1GetEndpointsParamCreator } from './EndpointResourceV1GetEndpoints'
export { default as endpointResourceV1GetEndpoints } from './EndpointResourceV1GetEndpoints'


// end of operations block
export { default as endpointResourceV1GetOrCreateDrawerSubscriptionEndpointParamCreator } from './EndpointResourceV1GetOrCreateDrawerSubscriptionEndpoint'
export { default as endpointResourceV1GetOrCreateDrawerSubscriptionEndpoint } from './EndpointResourceV1GetOrCreateDrawerSubscriptionEndpoint'


// end of operations block
export { default as endpointResourceV1GetOrCreateEmailSubscriptionEndpointParamCreator } from './EndpointResourceV1GetOrCreateEmailSubscriptionEndpoint'
export { default as endpointResourceV1GetOrCreateEmailSubscriptionEndpoint } from './EndpointResourceV1GetOrCreateEmailSubscriptionEndpoint'


// end of operations block
export { default as endpointResourceV1TestEndpointParamCreator } from './EndpointResourceV1TestEndpoint'
export { default as endpointResourceV1TestEndpoint } from './EndpointResourceV1TestEndpoint'


// end of operations block
export { default as endpointResourceV1UpdateEndpointParamCreator } from './EndpointResourceV1UpdateEndpoint'
export { default as endpointResourceV1UpdateEndpoint } from './EndpointResourceV1UpdateEndpoint'


// end of operations block
44 changes: 22 additions & 22 deletions packages/notifications/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,91 +5,91 @@ export * from './utils/common';
export * from './utils/configuration';
export * from './types'

export { default as drawerResourceV1GetDrawerEntriesParamCreator } from './DrawerResourceV1GetDrawerEntries'
export { default as drawerResourceV1GetDrawerEntries } from './DrawerResourceV1GetDrawerEntries'


// end of operations block
export { default as drawerResourceV1UpdateNotificationReadStatusParamCreator } from './DrawerResourceV1UpdateNotificationReadStatus'
export { default as drawerResourceV1UpdateNotificationReadStatus } from './DrawerResourceV1UpdateNotificationReadStatus'


// end of operations block
export { default as eventResourceV1GetEventsParamCreator } from './EventResourceV1GetEvents'
export { default as eventResourceV1GetEvents } from './EventResourceV1GetEvents'


// end of operations block
export { default as notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator } from './NotificationResourceV1AppendBehaviorGroupToEventType'
export { default as notificationResourceV1AppendBehaviorGroupToEventType } from './NotificationResourceV1AppendBehaviorGroupToEventType'


// end of operations block
export { default as notificationResourceV1CreateBehaviorGroupParamCreator } from './NotificationResourceV1CreateBehaviorGroup'
export { default as notificationResourceV1CreateBehaviorGroup } from './NotificationResourceV1CreateBehaviorGroup'


// end of operations block
export { default as notificationResourceV1DeleteBehaviorGroupParamCreator } from './NotificationResourceV1DeleteBehaviorGroup'
export { default as notificationResourceV1DeleteBehaviorGroup } from './NotificationResourceV1DeleteBehaviorGroup'


// end of operations block
export { default as notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator } from './NotificationResourceV1DeleteBehaviorGroupFromEventType'
export { default as notificationResourceV1DeleteBehaviorGroupFromEventType } from './NotificationResourceV1DeleteBehaviorGroupFromEventType'


// end of operations block
export { default as notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator } from './NotificationResourceV1FindBehaviorGroupsByBundleId'
export { default as notificationResourceV1FindBehaviorGroupsByBundleId } from './NotificationResourceV1FindBehaviorGroupsByBundleId'


// end of operations block
export { default as notificationResourceV1GetApplicationByNameAndBundleNameParamCreator } from './NotificationResourceV1GetApplicationByNameAndBundleName'
export { default as notificationResourceV1GetApplicationByNameAndBundleName } from './NotificationResourceV1GetApplicationByNameAndBundleName'


// end of operations block
export { default as notificationResourceV1GetApplicationsFacetsParamCreator } from './NotificationResourceV1GetApplicationsFacets'
export { default as notificationResourceV1GetApplicationsFacets } from './NotificationResourceV1GetApplicationsFacets'


// end of operations block
export { default as notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator } from './NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint'
export { default as notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint } from './NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint'


// end of operations block
export { default as notificationResourceV1GetBundleByNameParamCreator } from './NotificationResourceV1GetBundleByName'
export { default as notificationResourceV1GetBundleByName } from './NotificationResourceV1GetBundleByName'


// end of operations block
export { default as notificationResourceV1GetBundleFacetsParamCreator } from './NotificationResourceV1GetBundleFacets'
export { default as notificationResourceV1GetBundleFacets } from './NotificationResourceV1GetBundleFacets'


// end of operations block
export { default as notificationResourceV1GetEventTypesParamCreator } from './NotificationResourceV1GetEventTypes'
export { default as notificationResourceV1GetEventTypes } from './NotificationResourceV1GetEventTypes'


// end of operations block
export { default as notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator } from './NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup'
export { default as notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup } from './NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup'


// end of operations block
export { default as notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator } from './NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName'
export { default as notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName } from './NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName'


// end of operations block
export { default as notificationResourceV1GetLinkedBehaviorGroupsParamCreator } from './NotificationResourceV1GetLinkedBehaviorGroups'
export { default as notificationResourceV1GetLinkedBehaviorGroups } from './NotificationResourceV1GetLinkedBehaviorGroups'


// end of operations block
export { default as notificationResourceV1UpdateBehaviorGroupParamCreator } from './NotificationResourceV1UpdateBehaviorGroup'
export { default as notificationResourceV1UpdateBehaviorGroup } from './NotificationResourceV1UpdateBehaviorGroup'


// end of operations block
export { default as notificationResourceV1UpdateBehaviorGroupActionsParamCreator } from './NotificationResourceV1UpdateBehaviorGroupActions'
export { default as notificationResourceV1UpdateBehaviorGroupActions } from './NotificationResourceV1UpdateBehaviorGroupActions'


// end of operations block
export { default as notificationResourceV1UpdateEventTypeBehaviorsParamCreator } from './NotificationResourceV1UpdateEventTypeBehaviors'
export { default as notificationResourceV1UpdateEventTypeBehaviors } from './NotificationResourceV1UpdateEventTypeBehaviors'


// end of operations block
export { default as orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator } from './OrgConfigResourceV1GetDailyDigestTimePreference'
export { default as orgConfigResourceV1GetDailyDigestTimePreference } from './OrgConfigResourceV1GetDailyDigestTimePreference'


// end of operations block
export { default as orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator } from './OrgConfigResourceV1SaveDailyDigestTimePreference'
export { default as orgConfigResourceV1SaveDailyDigestTimePreference } from './OrgConfigResourceV1SaveDailyDigestTimePreference'


// end of operations block
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export * from './types'
{{#apiInfo.apis}}
{{#operations}}
{{#operation}}
export { default as {{nickname}}ParamCreator } from './{{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}'
export { default as {{nickname}} } from './{{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}'

{{/operation}}

Expand Down

0 comments on commit b7d834a

Please sign in to comment.