channelEmailValidateConfigurationOutbound.api.ts 1.6 KB

12345678910111213141516171819202122232425
  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 ChannelEmailValidateConfigurationOutboundDocument = gql`
  8. mutation channelEmailValidateConfigurationOutbound($outboundConfiguration: ChannelEmailOutboundConfigurationInput!, $emailAddress: String!) {
  9. channelEmailValidateConfigurationOutbound(
  10. outboundConfiguration: $outboundConfiguration
  11. emailAddress: $emailAddress
  12. ) {
  13. success
  14. errors {
  15. ...errors
  16. }
  17. }
  18. }
  19. ${ErrorsFragmentDoc}`;
  20. export function useChannelEmailValidateConfigurationOutboundMutation(options: VueApolloComposable.UseMutationOptions<Types.ChannelEmailValidateConfigurationOutboundMutation, Types.ChannelEmailValidateConfigurationOutboundMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.ChannelEmailValidateConfigurationOutboundMutation, Types.ChannelEmailValidateConfigurationOutboundMutationVariables>> = {}) {
  21. return VueApolloComposable.useMutation<Types.ChannelEmailValidateConfigurationOutboundMutation, Types.ChannelEmailValidateConfigurationOutboundMutationVariables>(ChannelEmailValidateConfigurationOutboundDocument, options);
  22. }
  23. export type ChannelEmailValidateConfigurationOutboundMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.ChannelEmailValidateConfigurationOutboundMutation, Types.ChannelEmailValidateConfigurationOutboundMutationVariables>;