channelEmailGuessConfiguration.api.ts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. archiveWeekRange
  33. }
  34. }
  35. errors {
  36. ...errors
  37. }
  38. }
  39. }
  40. ${ErrorsFragmentDoc}`;
  41. export function useChannelEmailGuessConfigurationMutation(options: VueApolloComposable.UseMutationOptions<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables>> = {}) {
  42. return VueApolloComposable.useMutation<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables>(ChannelEmailGuessConfigurationDocument, options);
  43. }
  44. export type ChannelEmailGuessConfigurationMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.ChannelEmailGuessConfigurationMutation, Types.ChannelEmailGuessConfigurationMutationVariables>;