30 lines
958 B
TypeScript
30 lines
958 B
TypeScript
import { RequestConfig } from '../requestConfig';
|
|
import { IsoTime } from '../types/primitives';
|
|
export interface CreatePersonResponse {
|
|
success: {
|
|
createdAt: IsoTime;
|
|
objectId: string;
|
|
};
|
|
}
|
|
export declare function createPerson(config: RequestConfig, groupId: string, name: string, initials?: string): {
|
|
readonly id: "createPerson";
|
|
readonly path: "/parse/classes/Person";
|
|
readonly method: "POST";
|
|
readonly body: {
|
|
readonly GlobalId: string;
|
|
readonly UpdateID: string;
|
|
readonly isDeleted: false;
|
|
readonly createdGlobally: {
|
|
readonly __type: "Date";
|
|
readonly iso: string;
|
|
};
|
|
readonly UpdateInstallationID: string;
|
|
readonly group: {
|
|
readonly __type: "Pointer";
|
|
readonly className: "_User";
|
|
readonly objectId: string;
|
|
};
|
|
readonly name: string;
|
|
readonly initials: string;
|
|
};
|
|
};
|