sunrise-cms/helpers/lotOccupancyDB/addLot.d.ts

15 lines
492 B
TypeScript

import type * as recordTypes from '../../types/recordTypes';
interface AddLotForm {
lotName: string;
lotTypeId: string | number;
lotStatusId: string | number;
mapId: string | number;
mapKey: string;
lotLatitude: string;
lotLongitude: string;
lotTypeFieldIds?: string;
[lotFieldValue_lotTypeFieldId: string]: unknown;
}
export declare function addLot(lotForm: AddLotForm, requestSession: recordTypes.PartialSession): Promise<number>;
export default addLot;