UNPKG

factura-middle

Version:

Factura+ queries definitions

42 lines (31 loc) 749 B
import { Field, InputType, ID, ObjectType } from "type-graphql"; @InputType() export class DeleteAgencyInput { agencyID: string; } @InputType() export class AgencyPhoneNumberInput { e164: string; nationalNumber: string; countryCode: string; } @InputType() export class AgencyAddressTypeInput { country: string; province: string; address: string; } @InputType() export class AddAgencyInput { agencyName: string; address: AgencyAddressTypeInput; phone: AgencyPhoneNumberInput; } @InputType() export class UpdateAgencyInput { _id: string; agencyName: string; address: AgencyAddressTypeInput; phone: AgencyPhoneNumberInput; IDUser: string; }