@simplyhomes/sos-sdk
Version:
TypeScript SDK for Simply Homes SoS API v4
82 lines • 2.75 kB
TypeScript
/**
* API v4
* Swagger documentation for API v4
*
* The version of the OpenAPI document: 4.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { SoSInspectionEntityStatus } from './SoSInspectionEntityStatus';
/**
*
* @export
* @interface V4InspectionsCreateInspectionBodyDto
*/
export interface V4InspectionsCreateInspectionBodyDto {
/**
* Inspection name
* @type {string}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
name: string;
/**
* Property ID (required - every inspection needs a location)
* @type {string}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
pid: string;
/**
* Transaction ID reference
* @type {number}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
transactionId?: number;
/**
* Unit ID reference (null = property-level inspection, value = unit-specific inspection)
* @type {number}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
unitId?: number;
/**
* Inspection status
* @type {SoSInspectionEntityStatus}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
status?: SoSInspectionEntityStatus;
/**
* Notes
* @type {string}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
notes?: string;
/**
* Deadline date for the inspection
* @type {Date}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
deadline?: string;
/**
* Walkthrough date
* @type {Date}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
walkthroughDate?: string;
/**
* When the inspection was created
* @type {Date}
* @memberof V4InspectionsCreateInspectionBodyDto
*/
createdAt?: string;
}
/**
* Check if a given object implements the V4InspectionsCreateInspectionBodyDto interface.
*/
export declare function instanceOfV4InspectionsCreateInspectionBodyDto(value: object): value is V4InspectionsCreateInspectionBodyDto;
export declare function V4InspectionsCreateInspectionBodyDtoFromJSON(json: any): V4InspectionsCreateInspectionBodyDto;
export declare function V4InspectionsCreateInspectionBodyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): V4InspectionsCreateInspectionBodyDto;
export declare function V4InspectionsCreateInspectionBodyDtoToJSON(json: any): V4InspectionsCreateInspectionBodyDto;
export declare function V4InspectionsCreateInspectionBodyDtoToJSONTyped(value?: V4InspectionsCreateInspectionBodyDto | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=V4InspectionsCreateInspectionBodyDto.d.ts.map