channelEmailSetNotificationConfiguration.api.ts 1.6 KB

123456789101112131415161718192021222324
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { ErrorsFragmentDoc } from '../../../../../../shared/graphql/fragments/errors.api';
  4. import * as VueApolloComposable from '@vue/apollo-composable';
  5. import * as VueCompositionApi from 'vue';
  6. export type ReactiveFunction<TParam> = () => TParam;
  7. export const ChannelEmailSetNotificationConfigurationDocument = gql`
  8. mutation channelEmailSetNotificationConfiguration($outboundConfiguration: ChannelEmailOutboundConfigurationInput!) {
  9. channelEmailSetNotificationConfiguration(
  10. outboundConfiguration: $outboundConfiguration
  11. ) {
  12. success
  13. errors {
  14. ...errors
  15. }
  16. }
  17. }
  18. ${ErrorsFragmentDoc}`;
  19. export function useChannelEmailSetNotificationConfigurationMutation(options: VueApolloComposable.UseMutationOptions<Types.ChannelEmailSetNotificationConfigurationMutation, Types.ChannelEmailSetNotificationConfigurationMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.ChannelEmailSetNotificationConfigurationMutation, Types.ChannelEmailSetNotificationConfigurationMutationVariables>> = {}) {
  20. return VueApolloComposable.useMutation<Types.ChannelEmailSetNotificationConfigurationMutation, Types.ChannelEmailSetNotificationConfigurationMutationVariables>(ChannelEmailSetNotificationConfigurationDocument, options);
  21. }
  22. export type ChannelEmailSetNotificationConfigurationMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.ChannelEmailSetNotificationConfigurationMutation, Types.ChannelEmailSetNotificationConfigurationMutationVariables>;