Add message board and bonus program preview
This commit is contained in:
@@ -783,6 +783,13 @@ export type VerifyLoginCodeMutationVariables = Exact<{
|
||||
|
||||
export type VerifyLoginCodeMutation = { __typename?: 'Mutation', verifyLoginCode: { __typename?: 'AuthSession', accessToken: string, expiresAt: any, user: { __typename?: 'User', id: string, email: string, fullName: string, role: UserRole, company?: { __typename?: 'Company', id: string } | null } } };
|
||||
|
||||
export type RequestRewardWithdrawalMutationVariables = Exact<{
|
||||
input: RequestRewardWithdrawalInput;
|
||||
}>;
|
||||
|
||||
|
||||
export type RequestRewardWithdrawalMutation = { __typename?: 'Mutation', requestRewardWithdrawal: { __typename?: 'RewardWithdrawalRequest', id: string, amount: number, status: WithdrawalStatus, createdAt: any, updatedAt: any, reviewComment?: string | null } };
|
||||
|
||||
export type AddProductToCartMutationVariables = Exact<{
|
||||
productId: Scalars['ID']['input'];
|
||||
}>;
|
||||
@@ -1212,6 +1219,40 @@ export function useVerifyLoginCodeMutation(options: VueApolloComposable.UseMutat
|
||||
return VueApolloComposable.useMutation<VerifyLoginCodeMutation, VerifyLoginCodeMutationVariables>(VerifyLoginCodeDocument, options);
|
||||
}
|
||||
export type VerifyLoginCodeMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<VerifyLoginCodeMutation, VerifyLoginCodeMutationVariables>;
|
||||
export const RequestRewardWithdrawalDocument = gql`
|
||||
mutation RequestRewardWithdrawal($input: RequestRewardWithdrawalInput!) {
|
||||
requestRewardWithdrawal(input: $input) {
|
||||
id
|
||||
amount
|
||||
status
|
||||
createdAt
|
||||
updatedAt
|
||||
reviewComment
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
/**
|
||||
* __useRequestRewardWithdrawalMutation__
|
||||
*
|
||||
* To run a mutation, you first call `useRequestRewardWithdrawalMutation` within a Vue component and pass it any options that fit your needs.
|
||||
* When your component renders, `useRequestRewardWithdrawalMutation` returns an object that includes:
|
||||
* - A mutate function that you can call at any time to execute the mutation
|
||||
* - Several other properties: https://v4.apollo.vuejs.org/api/use-mutation.html#return
|
||||
*
|
||||
* @param options that will be passed into the mutation, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/mutation.html#options;
|
||||
*
|
||||
* @example
|
||||
* const { mutate, loading, error, onDone } = useRequestRewardWithdrawalMutation({
|
||||
* variables: {
|
||||
* input: // value for 'input'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
export function useRequestRewardWithdrawalMutation(options: VueApolloComposable.UseMutationOptions<RequestRewardWithdrawalMutation, RequestRewardWithdrawalMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<RequestRewardWithdrawalMutation, RequestRewardWithdrawalMutationVariables>> = {}) {
|
||||
return VueApolloComposable.useMutation<RequestRewardWithdrawalMutation, RequestRewardWithdrawalMutationVariables>(RequestRewardWithdrawalDocument, options);
|
||||
}
|
||||
export type RequestRewardWithdrawalMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<RequestRewardWithdrawalMutation, RequestRewardWithdrawalMutationVariables>;
|
||||
export const AddProductToCartDocument = gql`
|
||||
mutation AddProductToCart($productId: ID!) {
|
||||
addProductToCart(productId: $productId) {
|
||||
|
||||
Reference in New Issue
Block a user