@accounter/server
Version:
The test suite is split into three Vitest projects for efficiency and isolation:
38 lines (33 loc) • 786 B
text/typescript
import { gql } from 'graphql-modules';
export default gql`
extend type Query {
greenInvoiceClient(clientId: UUID!): GreenInvoiceClient! @auth(role: ACCOUNTANT)
}
extend type Mutation {
syncGreenInvoiceDocuments(ownerId: UUID!, singlePageLimit: Boolean): [Document!]!
@auth(role: ADMIN)
}
extend type IssuedDocumentInfo {
originalDocument: DocumentDraft
}
extend type ClientIntegrations {
greenInvoiceInfo: GreenInvoiceClient
}
" client info "
type GreenInvoiceClient {
country: Country
emails: [String!]
greenInvoiceId: ID
businessId: UUID!
name: String
phone: String
taxId: String
self: Boolean
address: String
city: String
zip: String
fax: String
mobile: String
add: Boolean
}
`;