@simplyhomes/sos-sdk
Version:
TypeScript SDK for Simply Homes SoS API v4
88 lines • 2.56 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 SoSInspectionEntityBase
*/
export interface SoSInspectionEntityBase {
/**
* Inspection ID
* @type {number}
* @memberof SoSInspectionEntityBase
*/
iid: number;
/**
* Inspection name
* @type {string}
* @memberof SoSInspectionEntityBase
*/
name: string;
/**
* Property ID (required - every inspection needs a location)
* @type {string}
* @memberof SoSInspectionEntityBase
*/
pid: string;
/**
* Transaction ID reference
* @type {number}
* @memberof SoSInspectionEntityBase
*/
transactionId?: number;
/**
* Unit ID reference (null = property-level inspection, value = unit-specific inspection)
* @type {number}
* @memberof SoSInspectionEntityBase
*/
unitId?: number;
/**
* Inspection status
* @type {SoSInspectionEntityStatus}
* @memberof SoSInspectionEntityBase
*/
status?: SoSInspectionEntityStatus;
/**
* Notes
* @type {string}
* @memberof SoSInspectionEntityBase
*/
notes?: string;
/**
* Deadline date for the inspection
* @type {Date}
* @memberof SoSInspectionEntityBase
*/
deadline?: string;
/**
* Walkthrough date
* @type {Date}
* @memberof SoSInspectionEntityBase
*/
walkthroughDate?: string;
/**
* When the inspection was created
* @type {Date}
* @memberof SoSInspectionEntityBase
*/
createdAt?: string;
}
/**
* Check if a given object implements the SoSInspectionEntityBase interface.
*/
export declare function instanceOfSoSInspectionEntityBase(value: object): value is SoSInspectionEntityBase;
export declare function SoSInspectionEntityBaseFromJSON(json: any): SoSInspectionEntityBase;
export declare function SoSInspectionEntityBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SoSInspectionEntityBase;
export declare function SoSInspectionEntityBaseToJSON(json: any): SoSInspectionEntityBase;
export declare function SoSInspectionEntityBaseToJSONTyped(value?: SoSInspectionEntityBase | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=SoSInspectionEntityBase.d.ts.map