@withjoy/sdk-js
Version:
Joy Javascript SDK
24 lines (23 loc) • 905 B
TypeScript
import { Households } from "./Households";
export declare class Household {
static createHousehold(households: any, hId: any): Household;
_households: Households;
private _hId;
constructor(households: any, hId: any);
readonly id: string;
toString(): string;
_findMembers(people: any): any;
findMembers(people: any): any;
getHouseholdAddresseeForPerson(people: any, p: any): string;
readonly _h: any;
readonly _hDefault: {};
readonly title: any;
headOfHousehold(people: any): any;
elevateToWritable(people: any): Promise<WritableHousehold>;
}
export declare class WritableHousehold extends Household {
addPlusOne(people: any, options: any): any;
_updateProperty(propertyName: any, newPropertyValue: any, callback: any): any;
updateTitle(newTitle: any, callback: any): any;
elevateToWritable(): Promise<this>;
}