channelEmailGuessConfiguration.api.ts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 ChannelEmailGuessConfigurationDocument = gql`
  8. mutation channelEmailGuessConfiguration($emailAddress: String!, $password: String!) {
  9. channelEmailGuessConfiguration(emailAddress: $emailAddress, password: $password) {
  10. result {
  11. inboundConfiguration {
  12. adapter
  13. host
  14. port
  15. ssl
  16. user
  17. password
  18. sslVerify
  19. folder
  20. }
  21. outboundConfiguration {
  22. adapter
  23. host
  24. port
  25. user
  26. password
  27. sslVerify
  28. }
  29. mailboxStats {
  30. contentMessages
  31. archivePossible
  32. archivePossibleIsFallback
  33. archiveWeekRange
  34. }
  35. }
  36. errors {
  37. ...errors
  38. }
  39. }
  40. }
  41. ${ErrorsFragmentDoc}`;
  42. export function useChannelEmailGuessConfigurationMutation(options: VueApolloComposable.UseMutationOptions<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables>> = {}) {
  43. return VueApolloComposable.useMutation<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables>(ChannelEmailGuessConfigurationDocument, options);
  44. }
  45. export type ChannelEmailGuessConfigurationMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables>;