@accounter/server
Version:
Accounter GraphQL server
75 lines (71 loc) • 2 kB
text/typescript
import { gql } from 'graphql-modules';
export default gql`
" represent a single bank account"
type BankFinancialAccount implements FinancialAccount {
id: UUID!
name: String!
number: String!
type: FinancialAccountType!
privateOrBusiness: PrivateOrBusinessType!
accountTaxCategories: [CurrencyTaxCategory!]!
" the external identifier of the bank account "
accountNumber: String!
bankNumber: Int!
branchNumber: Int!
iban: String
swiftCode: String
extendedBankNumber: Int
partyPreferredIndication: Int
partyAccountInvolvementCode: Int
accountDealDate: Int
accountUpdateDate: Int
metegDoarNet: Int
kodHarshaatPeilut: Int
accountClosingReasonCode: Int
accountAgreementOpeningDate: Int
serviceAuthorizationDesc: String
branchTypeCode: Int
mymailEntitlementSwitch: Int
productLabel: String
}
" input type for creating a bank account "
input BankAccountInsertInput {
bankNumber: Int!
branchNumber: Int!
iban: String
swiftCode: String
extendedBankNumber: Int
partyPreferredIndication: Int
partyAccountInvolvementCode: Int
accountDealDate: Int
accountUpdateDate: Int
metegDoarNet: Int
kodHarshaatPeilut: Int
accountClosingReasonCode: Int
accountAgreementOpeningDate: Int
serviceAuthorizationDesc: String
branchTypeCode: Int
mymailEntitlementSwitch: Int
productLabel: String
}
" input type for updating a bank account "
input BankAccountUpdateInput {
bankNumber: Int
branchNumber: Int
iban: String
swiftCode: String
extendedBankNumber: Int
partyPreferredIndication: Int
partyAccountInvolvementCode: Int
accountDealDate: Int
accountUpdateDate: Int
metegDoarNet: Int
kodHarshaatPeilut: Int
accountClosingReasonCode: Int
accountAgreementOpeningDate: Int
serviceAuthorizationDesc: String
branchTypeCode: Int
mymailEntitlementSwitch: Int
productLabel: String
}
`;