@vnodes/ctc
    Preparing search index...

    Class AddressService

    Hierarchy

    • BaseAddressService
      • AddressService
    Index

    Constructors

    Properties

    repo: AddressDelegate

    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

      • city: 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

      • country: 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

      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

      • notes: 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

      • profileId: number

      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

      • profileId: number

      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

      • profileId: number

      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

      • province: 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

      • state: 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

      • street: 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

      • unit: 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

      • zip: 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

      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

      • Optionalquery: QueryMany<AddressScalarFieldEnum>

      Returns AddressFindManyArgs

    • Parameters

      • Optionalquery: QueryMany<AddressScalarFieldEnum>

      Returns { [key: string]: SortOrder } | undefined

    • Parameters

      • Optionalquery: QueryMany<AddressScalarFieldEnum>

      Returns AddressWhereInput

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