channelEmailValidateConfigurationInbound.api.ts 1.7 KB

123456789101112131415161718192021222324252627282930
  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 ChannelEmailValidateConfigurationInboundDocument = gql`
  8. mutation channelEmailValidateConfigurationInbound($inboundConfiguration: ChannelEmailInboundConfigurationInput!) {
  9. channelEmailValidateConfigurationInbound(
  10. inboundConfiguration: $inboundConfiguration
  11. ) {
  12. success
  13. mailboxStats {
  14. contentMessages
  15. archivePossible
  16. archivePossibleIsFallback
  17. archiveWeekRange
  18. }
  19. errors {
  20. ...errors
  21. }
  22. }
  23. }
  24. ${ErrorsFragmentDoc}`;
  25. export function useChannelEmailValidateConfigurationInboundMutation(options: VueApolloComposable.UseMutationOptions<Types.ChannelEmailValidateConfigurationInboundMutation, Types.ChannelEmailValidateConfigurationInboundMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.ChannelEmailValidateConfigurationInboundMutation, Types.ChannelEmailValidateConfigurationInboundMutationVariables>> = {}) {
  26. return VueApolloComposable.useMutation<Types.ChannelEmailValidateConfigurationInboundMutation, Types.ChannelEmailValidateConfigurationInboundMutationVariables>(ChannelEmailValidateConfigurationInboundDocument, options);
  27. }
  28. export type ChannelEmailValidateConfigurationInboundMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.ChannelEmailValidateConfigurationInboundMutation, Types.ChannelEmailValidateConfigurationInboundMutationVariables>;