portal-www
Version:
Nova Portal Website. Based on Next starter by Ueno
47 lines (44 loc) • 766 B
text/typescript
import gql from 'graphql-tag';
export const CONTRACT_DISCOUNTS = gql`
query ContractDiscounts($input: DiscountInput!) {
contractDiscounts(input: $input) {
contractId
description
end
id
isExpired
offerId
offerReasonId
start
status
offer {
id
name
description
amount
length
unit
isAvailable
reasons {
id
title
}
}
}
}
`;
export const CONTRACT_DISCOUNT = gql`
query ContractDiscount($input: SingleDiscountInput!) {
contractDiscount(input: $input) {
contractId
description
end
id
isExpired
offerId
offerReasonId
start
status
}
}
`;