@simplyhomes/sos-sdk
Version:
TypeScript SDK for Simply Homes SoS API v4
25 lines • 1.54 kB
TypeScript
import type { Configuration } from '../generated';
import { RelLeasingTenantsAPIV4Api } from '../generated';
import type { V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request, V4LeasingTenantRelationsCreateRelLeasingTenantBodyDto, V4LeasingTenantRelationsCreateRelLeasingTenantResponseDto, V4LeasingTenantRelationsDeleteRelLeasingTenantResponseDto } from '../generated';
export declare class LeasingTenantRelations {
readonly create: LeasingTenantRelationsCreate;
readonly delete: LeasingTenantRelationsDelete;
constructor(config: Configuration);
}
export declare class LeasingTenantRelationsCreate {
private api;
constructor(api: RelLeasingTenantsAPIV4Api);
/**
* one - post /v4/leasing-tenant-relations
*/
one(body: V4LeasingTenantRelationsCreateRelLeasingTenantBodyDto): Promise<V4LeasingTenantRelationsCreateRelLeasingTenantResponseDto>;
}
export declare class LeasingTenantRelationsDelete {
private api;
constructor(api: RelLeasingTenantsAPIV4Api);
/**
* one - delete /v4/leasing-tenant-relations/leasings/{leasingId}/tenants/{tenantId}
*/
one(leasingId: V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request['leasingId'], tenantId: V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request['tenantId'], options?: Omit<V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request, 'leasingId' | 'tenantId'>): Promise<V4LeasingTenantRelationsDeleteRelLeasingTenantResponseDto>;
}
//# sourceMappingURL=leasingTenantRelations.d.ts.map