urembo-hub-api
    Preparing search index...
    Index

    Constructors

    Methods

    • Parameters

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              phone: string;
              role: user_role;
              updatedAt: Date;
          },
      >

    • Parameters

      • id: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • email: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • id: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • Optionalrole: user_role

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          }[],
      >

    • Returns Promise<
          {
              businessName: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
          }[],
      >

    • Parameters

      • Optionallimit: number

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          }[],
      >

    • Parameters

      • status: onboarding_status

      Returns Promise<
          {
              businessName: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              onboardingStatus: onboarding_status;
              phone: string;
              role: user_role;
          }[],
      >

    • Parameters

      • role: user_role

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          }[],
      >

    • Parameters

      • id: string
      • suspendedBy: string
      • reason: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • id: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • id: string
      • status: onboarding_status

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • id: string
      • paymentAccountDetails: any
      • paymentAccountType: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • id: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >

    • Parameters

      • id: string

      Returns Promise<
          {
              avatarUrl: string;
              businessAddress: string;
              businessDescription: string;
              businessName: string;
              businessPhone: string;
              createdAt: Date;
              email: string;
              fullName: string;
              id: string;
              isSuspended: boolean;
              isVerified: boolean;
              onboardingStatus: onboarding_status;
              password: string;
              paymentAccountDetails: JsonValue;
              paymentAccountType: string;
              paymentDetailsVerified: boolean;
              paystackSubaccountId: string;
              paystackSubaccountVerified: boolean;
              phone: string;
              role: user_role;
              suspendedAt: Date;
              suspendedBy: string;
              suspensionReason: string;
              updatedAt: Date;
          },
      >