channelEmailValidateConfigurationRoundtrip.api.ts 1.8 KB

1234567891011121314151617181920212223242526
  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 ChannelEmailValidateConfigurationRoundtripDocument = gql`
  8. mutation channelEmailValidateConfigurationRoundtrip($inboundConfiguration: ChannelEmailInboundConfigurationInput!, $outboundConfiguration: ChannelEmailOutboundConfigurationInput!, $emailAddress: String!) {
  9. channelEmailValidateConfigurationRoundtrip(
  10. inboundConfiguration: $inboundConfiguration
  11. outboundConfiguration: $outboundConfiguration
  12. emailAddress: $emailAddress
  13. ) {
  14. success
  15. errors {
  16. ...errors
  17. }
  18. }
  19. }
  20. ${ErrorsFragmentDoc}`;
  21. export function useChannelEmailValidateConfigurationRoundtripMutation(options: VueApolloComposable.UseMutationOptions<Types.ChannelEmailValidateConfigurationRoundtripMutation, Types.ChannelEmailValidateConfigurationRoundtripMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.ChannelEmailValidateConfigurationRoundtripMutation, Types.ChannelEmailValidateConfigurationRoundtripMutationVariables>> = {}) {
  22. return VueApolloComposable.useMutation<Types.ChannelEmailValidateConfigurationRoundtripMutation, Types.ChannelEmailValidateConfigurationRoundtripMutationVariables>(ChannelEmailValidateConfigurationRoundtripDocument, options);
  23. }
  24. export type ChannelEmailValidateConfigurationRoundtripMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.ChannelEmailValidateConfigurationRoundtripMutation, Types.ChannelEmailValidateConfigurationRoundtripMutationVariables>;