@simplyhomes/sos-sdk
Version:
TypeScript SDK for Simply Homes SoS API v4
70 lines • 2.15 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 { SoSContractorEntityStatus } from './SoSContractorEntityStatus';
/**
*
* @export
* @interface SoSContractorEntityBase
*/
export interface SoSContractorEntityBase {
/**
* Unique contractor identifier
* @type {number}
* @memberof SoSContractorEntityBase
*/
cid: number;
/**
* Contractor name
* @type {string}
* @memberof SoSContractorEntityBase
*/
name: string;
/**
* Contractor phone number
* @type {string}
* @memberof SoSContractorEntityBase
*/
phone?: string;
/**
* Contractor email address
* @type {string}
* @memberof SoSContractorEntityBase
*/
email?: string;
/**
* Organization ID - contractors are organization-specific
* @type {number}
* @memberof SoSContractorEntityBase
*/
organizationId: number;
/**
* Current status of the contractor
* @type {SoSContractorEntityStatus}
* @memberof SoSContractorEntityBase
*/
status?: SoSContractorEntityStatus;
/**
* When the contractor was created
* @type {Date}
* @memberof SoSContractorEntityBase
*/
createdAt?: string;
}
/**
* Check if a given object implements the SoSContractorEntityBase interface.
*/
export declare function instanceOfSoSContractorEntityBase(value: object): value is SoSContractorEntityBase;
export declare function SoSContractorEntityBaseFromJSON(json: any): SoSContractorEntityBase;
export declare function SoSContractorEntityBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SoSContractorEntityBase;
export declare function SoSContractorEntityBaseToJSON(json: any): SoSContractorEntityBase;
export declare function SoSContractorEntityBaseToJSONTyped(value?: SoSContractorEntityBase | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=SoSContractorEntityBase.d.ts.map