17 lines
568 B
TypeScript
17 lines
568 B
TypeScript
import { WithoutParseKeys } from '../parse';
|
|
import { RequestConfig } from '../requestConfig';
|
|
import { Person } from '../types/person';
|
|
import { IsoTime } from '../types/primitives';
|
|
export interface UpdatePersonResponse {
|
|
success: {
|
|
updatedAt: IsoTime;
|
|
};
|
|
}
|
|
type Input = Omit<WithoutParseKeys<Person>, 'UpdateID'>;
|
|
export declare function updatePerson(config: RequestConfig, data: Input | Input[]): {
|
|
readonly id: "updatePerson";
|
|
readonly path: string;
|
|
readonly method: "PUT";
|
|
readonly body: WithoutParseKeys<Person>;
|
|
}[];
|
|
export {};
|