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;
}