@simplyhomes/sos-sdk
Version:
TypeScript SDK for Simply Homes SoS API v4
83 lines • 5.16 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 * as runtime from '../runtime';
import type { V4LeasingTenantRelationsCreateRelLeasingTenantBodyDto, V4LeasingTenantRelationsCreateRelLeasingTenantResponseDto, V4LeasingTenantRelationsDeleteRelLeasingTenantResponseDto } from '../models/index';
export interface V4LeasingTenantRelationsControllerCreateRelLeasingTenantV4Request {
v4LeasingTenantRelationsCreateRelLeasingTenantBodyDto: V4LeasingTenantRelationsCreateRelLeasingTenantBodyDto;
}
export interface V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request {
leasingId: number;
tenantId: number;
}
/**
* RelLeasingTenantsAPIV4Api - interface
*
* @export
* @interface RelLeasingTenantsAPIV4ApiInterface
*/
export interface RelLeasingTenantsAPIV4ApiInterface {
/**
* Create a new relationship between a leasing and a tenant
* @summary Create a new rel-leasing-tenant
* @param {V4LeasingTenantRelationsCreateRelLeasingTenantBodyDto} v4LeasingTenantRelationsCreateRelLeasingTenantBodyDto
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof RelLeasingTenantsAPIV4ApiInterface
*/
v4LeasingTenantRelationsControllerCreateRelLeasingTenantV4Raw(requestParameters: V4LeasingTenantRelationsControllerCreateRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V4LeasingTenantRelationsCreateRelLeasingTenantResponseDto>>;
/**
* Create a new relationship between a leasing and a tenant
* Create a new rel-leasing-tenant
*/
v4LeasingTenantRelationsControllerCreateRelLeasingTenantV4(requestParameters: V4LeasingTenantRelationsControllerCreateRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V4LeasingTenantRelationsCreateRelLeasingTenantResponseDto>;
/**
* Remove the relationship between a leasing and a tenant
* @summary Delete a specific rel-leasing-tenant by leasingId and tenantId
* @param {number} leasingId The unique identifier of the leasing
* @param {number} tenantId The unique identifier of the tenant
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof RelLeasingTenantsAPIV4ApiInterface
*/
v4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Raw(requestParameters: V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V4LeasingTenantRelationsDeleteRelLeasingTenantResponseDto>>;
/**
* Remove the relationship between a leasing and a tenant
* Delete a specific rel-leasing-tenant by leasingId and tenantId
*/
v4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4(requestParameters: V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V4LeasingTenantRelationsDeleteRelLeasingTenantResponseDto>;
}
/**
*
*/
export declare class RelLeasingTenantsAPIV4Api extends runtime.BaseAPI implements RelLeasingTenantsAPIV4ApiInterface {
/**
* Create a new relationship between a leasing and a tenant
* Create a new rel-leasing-tenant
*/
v4LeasingTenantRelationsControllerCreateRelLeasingTenantV4Raw(requestParameters: V4LeasingTenantRelationsControllerCreateRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V4LeasingTenantRelationsCreateRelLeasingTenantResponseDto>>;
/**
* Create a new relationship between a leasing and a tenant
* Create a new rel-leasing-tenant
*/
v4LeasingTenantRelationsControllerCreateRelLeasingTenantV4(requestParameters: V4LeasingTenantRelationsControllerCreateRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V4LeasingTenantRelationsCreateRelLeasingTenantResponseDto>;
/**
* Remove the relationship between a leasing and a tenant
* Delete a specific rel-leasing-tenant by leasingId and tenantId
*/
v4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Raw(requestParameters: V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V4LeasingTenantRelationsDeleteRelLeasingTenantResponseDto>>;
/**
* Remove the relationship between a leasing and a tenant
* Delete a specific rel-leasing-tenant by leasingId and tenantId
*/
v4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4(requestParameters: V4LeasingTenantRelationsControllerDeleteRelLeasingTenantV4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V4LeasingTenantRelationsDeleteRelLeasingTenantResponseDto>;
}
//# sourceMappingURL=RelLeasingTenantsAPIV4Api.d.ts.map