ticketArticleEmailForwardReply.api.ts 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { ErrorsFragmentDoc } from '../../../../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 TicketArticleEmailForwardReplyDocument = gql`
  8. mutation ticketArticleEmailForwardReply($articleId: ID!, $formId: FormId!) {
  9. ticketArticleEmailForwardReply(articleId: $articleId, formId: $formId) {
  10. quotableFrom
  11. quotableTo
  12. quotableCc
  13. attachments {
  14. id
  15. internalId
  16. name
  17. size
  18. type
  19. }
  20. errors {
  21. ...errors
  22. }
  23. }
  24. }
  25. ${ErrorsFragmentDoc}`;
  26. export function useTicketArticleEmailForwardReplyMutation(options: VueApolloComposable.UseMutationOptions<Types.TicketArticleEmailForwardReplyMutation, Types.TicketArticleEmailForwardReplyMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TicketArticleEmailForwardReplyMutation, Types.TicketArticleEmailForwardReplyMutationVariables>> = {}) {
  27. return VueApolloComposable.useMutation<Types.TicketArticleEmailForwardReplyMutation, Types.TicketArticleEmailForwardReplyMutationVariables>(TicketArticleEmailForwardReplyDocument, options);
  28. }
  29. export type TicketArticleEmailForwardReplyMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TicketArticleEmailForwardReplyMutation, Types.TicketArticleEmailForwardReplyMutationVariables>;