ticketArticleRetrySecurityProcess.api.ts 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { SecurityStateFragmentDoc } from '../fragments/securityState.api';
  4. import { ErrorsFragmentDoc } from '../../../../graphql/fragments/errors.api';
  5. import * as VueApolloComposable from '@vue/apollo-composable';
  6. import * as VueCompositionApi from 'vue';
  7. export type ReactiveFunction<TParam> = () => TParam;
  8. export const TicketArticleRetrySecurityProcessDocument = gql`
  9. mutation ticketArticleRetrySecurityProcess($articleId: ID!) {
  10. ticketArticleRetrySecurityProcess(articleId: $articleId) {
  11. retryResult {
  12. ...securityState
  13. }
  14. article {
  15. id
  16. securityState {
  17. ...securityState
  18. }
  19. }
  20. errors {
  21. ...errors
  22. }
  23. }
  24. }
  25. ${SecurityStateFragmentDoc}
  26. ${ErrorsFragmentDoc}`;
  27. export function useTicketArticleRetrySecurityProcessMutation(options: VueApolloComposable.UseMutationOptions<Types.TicketArticleRetrySecurityProcessMutation, Types.TicketArticleRetrySecurityProcessMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TicketArticleRetrySecurityProcessMutation, Types.TicketArticleRetrySecurityProcessMutationVariables>> = {}) {
  28. return VueApolloComposable.useMutation<Types.TicketArticleRetrySecurityProcessMutation, Types.TicketArticleRetrySecurityProcessMutationVariables>(TicketArticleRetrySecurityProcessDocument, options);
  29. }
  30. export type TicketArticleRetrySecurityProcessMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TicketArticleRetrySecurityProcessMutation, Types.TicketArticleRetrySecurityProcessMutationVariables>;