@vnodes/ctc
    Preparing search index...

    Class AddressController

    Hierarchy

    • BaseAddressController
      • AddressController
    Index

    Constructors

    Properties

    service: BaseAddressService

    Methods

    • Parameters

      • data: AddressCreateInput

      Returns Promise<
          {
              city: string;
              contactType: ContactType;
              country: string
              | null;
              createdAt: Date;
              deletedAt: Date | null;
              id: number;
              notes: string | null;
              profileId: number | null;
              province: string | null;
              state: string | null;
              street: string;
              unit: string | null;
              updatedAt: Date;
              zip: string | null;
          },
      >

    • Parameters

      • id: string

      Returns Promise<
          {
              city: string;
              contactType: ContactType;
              country: string
              | null;
              createdAt: Date;
              deletedAt: Date | null;
              id: number;
              notes: string | null;
              profileId: number | null;
              province: string | null;
              state: string | null;
              street: string;
              unit: string | null;
              updatedAt: Date;
              zip: string | null;
          },
      >

    • Parameters

      • query: QueryMany

      Returns Promise<
          {
              city: string;
              contactType: ContactType;
              country: string
              | null;
              createdAt: Date;
              deletedAt: Date | null;
              id: number;
              notes: string | null;
              profileId: number | null;
              province: string | null;
              state: string | null;
              street: string;
              unit: string | null;
              updatedAt: Date;
              zip: string | null;
          }[],
      >

    • Parameters

      • id: string

      Returns Promise<
          | {
              city: string;
              contactType: ContactType;
              country: string
              | null;
              createdAt: Date;
              deletedAt: Date | null;
              id: number;
              notes: string | null;
              profileId: number | null;
              province: string | null;
              state: string | null;
              street: string;
              unit: string | null;
              updatedAt: Date;
              zip: string | null;
          }
          | null,
      >

    • Parameters

      • id: string
      • data: AddressUpdateInput

      Returns Promise<
          {
              city: string;
              contactType: ContactType;
              country: string
              | null;
              createdAt: Date;
              deletedAt: Date | null;
              id: number;
              notes: string | null;
              profileId: number | null;
              province: string | null;
              state: string | null;
              street: string;
              unit: string | null;
              updatedAt: Date;
              zip: string | null;
          },
      >