From ee82411a2f7f0dd3758ad9b387912338ca786e47 Mon Sep 17 00:00:00 2001 From: Austin Pinkerton Date: Wed, 20 Mar 2024 13:33:30 -0400 Subject: [PATCH] feat: update endpoint export template names and regenerate index files for notifications and integrations --- packages/integrations/index.ts | 24 +++++----- packages/notifications/index.ts | 44 +++++++++---------- .../index.mustache | 2 +- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/packages/integrations/index.ts b/packages/integrations/index.ts index 9ff6e4399..7b717ed83 100644 --- a/packages/integrations/index.ts +++ b/packages/integrations/index.ts @@ -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 diff --git a/packages/notifications/index.ts b/packages/notifications/index.ts index 3c207b9a5..f525bdc31 100644 --- a/packages/notifications/index.ts +++ b/packages/notifications/index.ts @@ -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 diff --git a/src/main/resources/typescript-axios-webpack-module-federation/index.mustache b/src/main/resources/typescript-axios-webpack-module-federation/index.mustache index d9519f050..a4c890972 100644 --- a/src/main/resources/typescript-axios-webpack-module-federation/index.mustache +++ b/src/main/resources/typescript-axios-webpack-module-federation/index.mustache @@ -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}}