New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bloom-housing/core

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloom-housing/core - npm Package Compare versions

Comparing version 0.2.16 to 0.3.4

src/archer-listing.ts

10

index.ts

@@ -1,9 +0,3 @@

export type { Application } from "./src/backend-swagger"
export * from "./src/HousingCounselors"
export * from "./src/ami_charts"
export * from "./src/general"
export * from "./src/assets"
export * from "./src/listings"
export * from "./src/preferences"
export * from "./src/units"
export * from "./src/backend-swagger"
export * from "./src/archer-listing"

14

package.json
{
"name": "@bloom-housing/core",
"version": "0.2.16",
"version": "0.3.4",
"description": "Shared types for Bloom affordable housing system",

@@ -13,12 +13,12 @@ "homepage": "https://github.com/bloom-housing/bloom/tree/master/shared/core",

"devDependencies": {
"@babel/core": "^7.11.4",
"@types/jest": "^26.0.10",
"@babel/core": "^7.11.6",
"@types/jest": "^26.0.14",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"jest": "^26.4.2",
"jest": "^26.5.3",
"typescript": "^3.9.7",
"webpack": "^4.44.1"
"webpack": "^4.44.2"
},
"dependencies": {
"@types/node": "^12.12.54",
"@types/node": "^12.12.67",
"@types/node-polyglot": "^2.4.1",

@@ -49,3 +49,3 @@ "axios": "^0.19.2",

},
"gitHead": "92aed1ac56ab3b6e5537cacb6404adae7c0b0c1b"
"gitHead": "6e1eff7228defbafd5fcc05810b3dcebbace4773"
}

@@ -6,4 +6,2 @@ /** Generate by swagger-axios-codegen */

const basePath = '';
export interface IRequestOptions {

@@ -48,3 +46,2 @@ headers?: any;

export function getConfigs(method: string, contentType: string, url: string, options: any): IRequestConfig {
url = basePath + url;
const configs: IRequestConfig = { ...options, method, url };

@@ -58,2 +55,4 @@ configs.headers = {

const basePath = '';
export interface IList<T> extends Array<T> {}

@@ -70,3 +69,3 @@ export interface List<T> extends Array<T> {}

export class ListResultDto<T> implements IListResult<T> {
export class ListResult<T> implements IListResult<T> {
items?: T[];

@@ -76,7 +75,9 @@ }

export interface IPagedResult<T> extends IListResult<T> {
totalCount: number;
totalCount?: number;
items?: T[];
}
export class PagedResultDto<T> implements IPagedResult<T> {
totalCount!: number;
export class PagedResult<T> implements IPagedResult<T> {
totalCount?: number;
items?: T[];
}

@@ -87,2 +88,154 @@

export class AuthService {
/**
* Login
*/
login(
params: {
/** requestBody */
body?: Login;
} = {} as any,
options: IRequestOptions = {}
): Promise<LoginResponse> {
return new Promise((resolve, reject) => {
let url = basePath + '/auth/login';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Token
*/
token(options: IRequestOptions = {}): Promise<LoginResponse> {
return new Promise((resolve, reject) => {
let url = basePath + '/auth/token';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class ListingsService {
/**
* List listings
*/
list(
params: {
/** */
jsonpath?: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<Listing[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/listings';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
configs.params = { jsonpath: params['jsonpath'] };
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create listing
*/
create(
params: {
/** requestBody */
body?: ListingCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Listing> {
return new Promise((resolve, reject) => {
let url = basePath + '/listings';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get listing by id
*/
retrieve(
params: {
/** */
listingId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<Listing> {
return new Promise((resolve, reject) => {
let url = basePath + '/listings/{listingId}';
url = url.replace('{listingId}', params['listingId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update listing by id
*/
update(
params: {
/** */
listingId: string;
/** requestBody */
body?: ListingUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Listing> {
return new Promise((resolve, reject) => {
let url = basePath + '/listings/{listingId}';
url = url.replace('{listingId}', params['listingId'] + '');
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete listing by id
*/
delete(
params: {
/** */
listingId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/listings/{listingId}';
url = url.replace('{listingId}', params['listingId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class ApplicationsService {

@@ -95,11 +248,22 @@ /**

/** */
page?: number;
/** */
limit?: number;
/** */
listingId?: string;
/** */
search?: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<ApplicationDto[]> {
): Promise<PaginatedApplication> {
return new Promise((resolve, reject) => {
let url = '/applications';
let url = basePath + '/applications';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
configs.params = { listingId: params['listingId'] };
configs.params = {
page: params['page'],
limit: params['limit'],
listingId: params['listingId'],
search: params['search']
};
let data = null;

@@ -117,8 +281,8 @@

/** requestBody */
body?: ApplicationCreateDto;
body?: ApplicationCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<ApplicationDto> {
): Promise<Application> {
return new Promise((resolve, reject) => {
let url = '/applications';
let url = basePath + '/applications';

@@ -134,2 +298,25 @@ const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);

/**
* List applications as csv
*/
listAsCsv(
params: {
/** */
listingId?: string;
/** */
includeHeaders?: boolean;
} = {} as any,
options: IRequestOptions = {}
): Promise<string> {
return new Promise((resolve, reject) => {
let url = basePath + '/applications/csv';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
configs.params = { listingId: params['listingId'], includeHeaders: params['includeHeaders'] };
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get application by id

@@ -143,5 +330,5 @@ */

options: IRequestOptions = {}
): Promise<ApplicationDto> {
): Promise<Application> {
return new Promise((resolve, reject) => {
let url = '/applications/{applicationId}';
let url = basePath + '/applications/{applicationId}';
url = url.replace('{applicationId}', params['applicationId'] + '');

@@ -165,8 +352,8 @@

/** requestBody */
body?: ApplicationUpdateDto;
body?: ApplicationUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<ApplicationDto> {
): Promise<Application> {
return new Promise((resolve, reject) => {
let url = '/applications/{applicationId}';
let url = basePath + '/applications/{applicationId}';
url = url.replace('{applicationId}', params['applicationId'] + '');

@@ -193,3 +380,3 @@

return new Promise((resolve, reject) => {
let url = '/applications/{applicationId}';
let url = basePath + '/applications/{applicationId}';
url = url.replace('{applicationId}', params['applicationId'] + '');

@@ -207,18 +394,912 @@

export interface LoginDto {
export class AssetsService {
/**
* List assets
*/
list(options: IRequestOptions = {}): Promise<Asset[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/assets';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create asset
*/
create(
params: {
/** requestBody */
body?: AssetCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Asset> {
return new Promise((resolve, reject) => {
let url = basePath + '/assets';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update asset
*/
update(
params: {
/** requestBody */
body?: AssetUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Asset> {
return new Promise((resolve, reject) => {
let url = basePath + '/assets/{assetId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get asset by id
*/
retrieve(
params: {
/** */
assetId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<Asset> {
return new Promise((resolve, reject) => {
let url = basePath + '/assets/{assetId}';
url = url.replace('{assetId}', params['assetId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete asset by id
*/
delete(
params: {
/** */
assetId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/assets/{assetId}';
url = url.replace('{assetId}', params['assetId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class PreferencesService {
/**
* List preferences
*/
list(options: IRequestOptions = {}): Promise<Preference[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/preferences';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create preference
*/
create(
params: {
/** requestBody */
body?: PreferenceCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Preference> {
return new Promise((resolve, reject) => {
let url = basePath + '/preferences';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update preference
*/
update(
params: {
/** requestBody */
body?: PreferenceUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Preference> {
return new Promise((resolve, reject) => {
let url = basePath + '/preferences/{preferenceId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get preference by id
*/
retrieve(
params: {
/** */
preferenceId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<Preference> {
return new Promise((resolve, reject) => {
let url = basePath + '/preferences/{preferenceId}';
url = url.replace('{preferenceId}', params['preferenceId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete preference by id
*/
delete(
params: {
/** */
preferenceId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/preferences/{preferenceId}';
url = url.replace('{preferenceId}', params['preferenceId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class ApplicationMethodsService {
/**
* List applicationMethods
*/
list(options: IRequestOptions = {}): Promise<ApplicationMethod[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/applicationMethods';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create applicationMethod
*/
create(
params: {
/** requestBody */
body?: ApplicationMethodCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<ApplicationMethod> {
return new Promise((resolve, reject) => {
let url = basePath + '/applicationMethods';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update applicationMethod
*/
update(
params: {
/** requestBody */
body?: ApplicationMethodUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<ApplicationMethod> {
return new Promise((resolve, reject) => {
let url = basePath + '/applicationMethods/{applicationMethodId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get applicationMethod by id
*/
retrieve(
params: {
/** */
applicationMethodId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<ApplicationMethod> {
return new Promise((resolve, reject) => {
let url = basePath + '/applicationMethods/{applicationMethodId}';
url = url.replace('{applicationMethodId}', params['applicationMethodId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete applicationMethod by id
*/
delete(
params: {
/** */
applicationMethodId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/applicationMethods/{applicationMethodId}';
url = url.replace('{applicationMethodId}', params['applicationMethodId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class UnitsService {
/**
* List units
*/
list(options: IRequestOptions = {}): Promise<Unit[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/units';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create unit
*/
create(
params: {
/** requestBody */
body?: UnitCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Unit> {
return new Promise((resolve, reject) => {
let url = basePath + '/units';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update unit
*/
update(
params: {
/** requestBody */
body?: UnitUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Unit> {
return new Promise((resolve, reject) => {
let url = basePath + '/units/{unitId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get unit by id
*/
retrieve(
params: {
/** */
unitId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<Unit> {
return new Promise((resolve, reject) => {
let url = basePath + '/units/{unitId}';
url = url.replace('{unitId}', params['unitId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete unit by id
*/
delete(
params: {
/** */
unitId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/units/{unitId}';
url = url.replace('{unitId}', params['unitId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class ListingEventsService {
/**
* List listingEvents
*/
list(options: IRequestOptions = {}): Promise<ListingEvent[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/listingEvents';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create listingEvent
*/
create(
params: {
/** requestBody */
body?: ListingEventCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<ListingEvent> {
return new Promise((resolve, reject) => {
let url = basePath + '/listingEvents';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update listingEvent
*/
update(
params: {
/** requestBody */
body?: ListingEventUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<ListingEvent> {
return new Promise((resolve, reject) => {
let url = basePath + '/listingEvents/{listingEventId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get listingEvent by id
*/
retrieve(
params: {
/** */
listingEventId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<ListingEvent> {
return new Promise((resolve, reject) => {
let url = basePath + '/listingEvents/{listingEventId}';
url = url.replace('{listingEventId}', params['listingEventId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete listingEvent by id
*/
delete(
params: {
/** */
listingEventId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/listingEvents/{listingEventId}';
url = url.replace('{listingEventId}', params['listingEventId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class PropertiesService {
/**
* List properties
*/
list(options: IRequestOptions = {}): Promise<Property[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/properties';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create property
*/
create(
params: {
/** requestBody */
body?: PropertyCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Property> {
return new Promise((resolve, reject) => {
let url = basePath + '/properties';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update property
*/
update(
params: {
/** requestBody */
body?: PropertyUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<Property> {
return new Promise((resolve, reject) => {
let url = basePath + '/properties/{propertyId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get property by id
*/
retrieve(
params: {
/** */
propertyId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<Property> {
return new Promise((resolve, reject) => {
let url = basePath + '/properties/{propertyId}';
url = url.replace('{propertyId}', params['propertyId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete property by id
*/
delete(
params: {
/** */
propertyId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/properties/{propertyId}';
url = url.replace('{propertyId}', params['propertyId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class PropertyGroupsService {
/**
* List propertyGroups
*/
list(options: IRequestOptions = {}): Promise<PropertyGroup[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/propertyGroups';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create propertyGroup
*/
create(
params: {
/** requestBody */
body?: PropertyGroupCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<PropertyGroup> {
return new Promise((resolve, reject) => {
let url = basePath + '/propertyGroups';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update propertyGroup
*/
update(
params: {
/** requestBody */
body?: PropertyGroupUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<PropertyGroup> {
return new Promise((resolve, reject) => {
let url = basePath + '/propertyGroups/{propertyGroupId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get propertyGroup by id
*/
retrieve(
params: {
/** */
propertyGroupId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<PropertyGroup> {
return new Promise((resolve, reject) => {
let url = basePath + '/propertyGroups/{propertyGroupId}';
url = url.replace('{propertyGroupId}', params['propertyGroupId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete propertyGroup by id
*/
delete(
params: {
/** */
propertyGroupId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/propertyGroups/{propertyGroupId}';
url = url.replace('{propertyGroupId}', params['propertyGroupId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export class AmiChartsService {
/**
* List amiCharts
*/
list(options: IRequestOptions = {}): Promise<AmiChart[]> {
return new Promise((resolve, reject) => {
let url = basePath + '/amiCharts';
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Create amiChart
*/
create(
params: {
/** requestBody */
body?: AmiChartCreate;
} = {} as any,
options: IRequestOptions = {}
): Promise<AmiChart> {
return new Promise((resolve, reject) => {
let url = basePath + '/amiCharts';
const configs: IRequestConfig = getConfigs('post', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Update amiChart
*/
update(
params: {
/** requestBody */
body?: AmiChartUpdate;
} = {} as any,
options: IRequestOptions = {}
): Promise<AmiChart> {
return new Promise((resolve, reject) => {
let url = basePath + '/amiCharts/{amiChartId}';
const configs: IRequestConfig = getConfigs('put', 'application/json', url, options);
let data = params.body;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Get amiChart by id
*/
retrieve(
params: {
/** */
amiChartId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<AmiChart> {
return new Promise((resolve, reject) => {
let url = basePath + '/amiCharts/{amiChartId}';
url = url.replace('{amiChartId}', params['amiChartId'] + '');
const configs: IRequestConfig = getConfigs('get', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
/**
* Delete amiChart by id
*/
delete(
params: {
/** */
amiChartId: string;
} = {} as any,
options: IRequestOptions = {}
): Promise<any> {
return new Promise((resolve, reject) => {
let url = basePath + '/amiCharts/{amiChartId}';
url = url.replace('{amiChartId}', params['amiChartId'] + '');
const configs: IRequestConfig = getConfigs('delete', 'application/json', url, options);
let data = null;
configs.data = data;
axios(configs, resolve, reject);
});
}
}
export interface User {
/** */
id: string;
/** */
email: string;
/** */
firstName: string;
/** */
middleName?: string;
/** */
lastName: string;
/** */
dob: Date;
/** */
createdAt: Date;
/** */
updatedAt: Date;
}
export interface UserCreate {
/** */
password: string;
/** */
email: string;
/** */
firstName: string;
/** */
middleName?: string;
/** */
lastName: string;
/** */
dob: Date;
}
export interface LoginResponseDto {
export interface UserWithAccessToken {
/** */
id: string;
/** */
email: string;
/** */
firstName: string;
/** */
middleName?: string;
/** */
lastName: string;
/** */
dob: Date;
/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
accessToken: string;
}
export interface CreateUserDto {
export interface UserUpdate {
/** */
email: string;
id: string;

@@ -229,3 +1310,3 @@ /** */

/** */
middleName: string;
middleName?: string;

@@ -239,5 +1320,69 @@ /** */

/** */
createdAt: Date;
/** */
updatedAt: Date;
}
export interface Login {
/** */
email: string;
/** */
password: string;
}
export interface LoginResponse {
/** */
accessToken: string;
}
export interface ApplicationMethod {
/** */
type: ApplicationMethodType;
/** */
id: string;
/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
label: string;
/** */
externalReference: string;
/** */
acceptsPostmarkedApplications: boolean;
}
export interface Asset {
/** */
id: string;
/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
label: string;
/** */
fileId: string;
}
export interface PreferenceLink {
/** */
title: string;
/** */
url: string;
}
export interface Preference {

@@ -248,2 +1393,8 @@ /** */

/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
ordinal: number;

@@ -261,61 +1412,108 @@

/** */
links: object[];
links: PreferenceLink[];
}
export interface MinMaxCurrency {
/** */
listing: Listing;
min: string;
/** */
max: string;
}
export interface Unit {
export interface MinMax {
/** */
id: string;
min: number;
/** */
amiPercentage: string;
max: number;
}
export interface UnitSummary {
/** */
annualIncomeMin: string;
unitType: string;
/** */
monthlyIncomeMin: number;
minIncomeRange: MinMaxCurrency;
/** */
floor: number;
occupancyRange: MinMax;
/** */
annualIncomeMax: string;
rentAsPercentIncomeRange: MinMax;
/** */
maxOccupancy: number;
rentRange: MinMaxCurrency;
/** */
minOccupancy: number;
totalAvailable: number;
/** */
monthlyRent: number;
areaRange: MinMax;
/** */
numBathrooms: number;
floorRange?: MinMax;
}
export interface UnitSummaryByReservedType {
/** */
numBedrooms: number;
reservedType: string;
/** */
number: string;
byUnitType: UnitSummary[];
}
export interface UnitSummaryByAMI {
/** */
priorityType: string;
percent: string;
/** */
reservedType: string;
byNonReservedUnitType: UnitSummary[];
/** */
sqFeet: number;
byReservedType: UnitSummaryByReservedType[];
}
export interface HMI {
/** */
status: string;
columns: object;
/** */
unitType: string;
rows: object[];
}
export interface UnitsSummarized {
/** */
unitTypes: string[];
/** */
reservedTypes: string[];
/** */
priorityTypes: string[];
/** */
amiPercentages: string[];
/** */
byUnitType: UnitSummary[];
/** */
byNonReservedUnitType: UnitSummary[];
/** */
byReservedType: UnitSummaryByReservedType[];
/** */
byAMI: UnitSummaryByAMI[];
/** */
hmi: HMI;
}
export interface AmiChartItem {
/** */
id: string;
/** */
createdAt: Date;

@@ -327,29 +1525,97 @@

/** */
amiChartId: number;
percentOfAmi: number;
/** */
monthlyRentAsPercentOfIncome: number;
householdSize: number;
/** */
listing: Listing;
income: number;
}
export interface Attachment {
export interface AmiChart {
/** */
items: AmiChartItem[];
/** */
id: string;
/** */
label: string;
createdAt: Date;
/** */
fileUrl: string;
updatedAt: Date;
/** */
type: EnumAttachmentType;
name: string;
}
export interface Unit {
/** */
listing: Listing;
amiChart: CombinedAmiChartTypes;
/** */
id: string;
/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
amiPercentage?: string;
/** */
annualIncomeMin?: string;
/** */
monthlyIncomeMin?: string;
/** */
floor?: number;
/** */
annualIncomeMax?: string;
/** */
maxOccupancy?: number;
/** */
minOccupancy?: number;
/** */
monthlyRent?: string;
/** */
numBathrooms?: number;
/** */
numBedrooms?: number;
/** */
number?: string;
/** */
priorityType?: string;
/** */
reservedType?: string;
/** */
sqFeet?: string;
/** */
status?: string;
/** */
unitType?: string;
/** */
monthlyRentAsPercentOfIncome?: string;
/** */
bmrProgramChart?: boolean;
}
export interface User {
export interface Address {
/** */

@@ -359,20 +1625,49 @@ id: string;

/** */
passwordHash: string;
createdAt: Date;
/** */
email: string;
updatedAt: Date;
/** */
firstName: string;
placeName?: string;
/** */
middleName: string;
city: string;
/** */
lastName: string;
county?: string;
/** */
dob: Date;
state: string;
/** */
street: string;
/** */
street2?: string;
/** */
zipCode: string;
/** */
latitude?: number;
/** */
longitude?: number;
}
export interface Property {
/** */
unitsSummarized: UnitsSummarized;
/** */
units: Unit[];
/** */
buildingAddress: Address;
/** */
id: string;
/** */
createdAt: Date;

@@ -384,7 +1679,43 @@

/** */
applications: Application[];
accessibility: string;
/** */
amenities: string;
/** */
buildingTotalUnits: number;
/** */
developer: string;
/** */
householdSizeMax: number;
/** */
householdSizeMin: number;
/** */
neighborhood: string;
/** */
petPolicy: string;
/** */
smokingPolicy: string;
/** */
unitsAvailable: number;
/** */
unitAmenities: string;
/** */
yearBuilt: number;
}
export interface Application {
export interface ListingEvent {
/** */
type: ListingEventType;
/** */
id: string;

@@ -399,47 +1730,99 @@

/** */
user: User;
startTime: Date;
/** */
listing: Listing;
endTime: Date;
/** */
application: object;
url?: string;
/** */
note?: string;
}
export interface Address {
/** */
id: string;
/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
placeName?: string;
/** */
city: string;
/** */
county?: string;
/** */
state: string;
/** */
street: string;
/** */
street2?: string;
/** */
zipCode: string;
/** */
latitude?: number;
/** */
longitude?: number;
}
export interface WhatToExpect {
/** */
applicantsWillBeContacted: string;
/** */
allInfoWillBeVerified: string;
/** */
bePreparedIfChosen: string;
}
export interface Listing {
/** */
preferences: Preference[];
status: ListingStatus;
/** */
units: Unit[];
urlSlug: string;
/** */
attachments: Attachment[];
applicationMethods: ApplicationMethod[];
/** */
id: string;
assets: Asset[];
/** */
acceptingApplicationsAtLeasingAgent: boolean;
preferences: Preference[];
/** */
acceptingApplicationsByPoBox: boolean;
property: Property;
/** */
acceptingOnlineApplications: boolean;
events: ListingEvent[];
/** */
acceptsPostmarkedApplications: boolean;
id: string;
/** */
accessibility: string;
createdAt: Date;
/** */
amenities: string;
updatedAt: Date;
/** */
applicationDueDate: string;
applicationDueDate: Date;
/** */
applicationOpenDate: string;
applicationOpenDate: Date;

@@ -453,14 +1836,11 @@ /** */

/** */
applicationAddress: object;
applicationAddress: CombinedApplicationAddressTypes;
/** */
blankPaperApplicationCanBePickedUp: boolean;
applicationPickUpAddress: CombinedApplicationPickUpAddressTypes;
/** */
buildingAddress: object;
applicationPickUpAddressOfficeHours: string;
/** */
buildingTotalUnits: number;
/** */
buildingSelectionCriteria: string;

@@ -484,20 +1864,208 @@

/** */
developer: string;
disableUnitsAccordion: boolean;
/** */
disableUnitsAccordion: boolean;
leasingAgentAddress: CombinedLeasingAgentAddressTypes;
/** */
householdSizeMax: number;
leasingAgentEmail: string;
/** */
householdSizeMin: number;
leasingAgentName: string;
/** */
imageUrl: string;
leasingAgentOfficeHours: string;
/** */
leasingAgentAddress: object;
leasingAgentPhone: string;
/** */
leasingAgentTitle: string;
/** */
name: string;
/** */
postmarkedApplicationsReceivedByDate: Date;
/** */
programRules: string;
/** */
rentalAssistance: string;
/** */
rentalHistory: string;
/** */
requiredDocuments: string;
/** */
waitlistCurrentSize: number;
/** */
waitlistMaxSize: number;
/** */
whatToExpect: CombinedWhatToExpectTypes;
/** */
applicationConfig?: object;
}
export interface ApplicationMethodCreate {
/** */
type: ApplicationMethodType;
/** */
label: string;
/** */
externalReference: string;
/** */
acceptsPostmarkedApplications: boolean;
}
export interface AssetCreate {
/** */
label: string;
/** */
fileId: string;
}
export interface PreferenceCreate {
/** */
ordinal: number;
/** */
title: string;
/** */
subtitle: string;
/** */
description: string;
/** */
links: PreferenceLink[];
}
export interface Id {
/** */
id: string;
}
export interface ListingEventCreate {
/** */
type: ListingEventType;
/** */
startTime: Date;
/** */
endTime: Date;
/** */
url?: string;
/** */
note?: string;
}
export interface AddressCreate {
/** */
placeName?: string;
/** */
city: string;
/** */
county?: string;
/** */
state: string;
/** */
street: string;
/** */
street2?: string;
/** */
zipCode: string;
/** */
latitude?: number;
/** */
longitude?: number;
}
export interface ListingCreate {
/** */
status: ListingStatus;
/** */
applicationMethods: ApplicationMethodCreate[];
/** */
assets: AssetCreate[];
/** */
preferences: PreferenceCreate[];
/** */
property: Id;
/** */
events: ListingEventCreate[];
/** */
applicationAddress: CombinedApplicationAddressTypes;
/** */
applicationPickUpAddress: CombinedApplicationPickUpAddressTypes;
/** */
leasingAgentAddress: CombinedLeasingAgentAddressTypes;
/** */
applicationDueDate: Date;
/** */
applicationOpenDate: Date;
/** */
applicationFee: string;
/** */
applicationOrganization: string;
/** */
applicationPickUpAddressOfficeHours: string;
/** */
buildingSelectionCriteria: string;
/** */
costsNotIncluded: string;
/** */
creditHistory: string;
/** */
criminalBackground: string;
/** */
depositMin: string;
/** */
depositMax: string;
/** */
disableUnitsAccordion: boolean;
/** */
leasingAgentEmail: string;

@@ -521,11 +2089,248 @@

/** */
neighborhood: string;
postmarkedApplicationsReceivedByDate: Date;
/** */
petPolicy: string;
programRules: string;
/** */
postmarkedApplicationsReceivedByDate: string;
rentalAssistance: string;
/** */
rentalHistory: string;
/** */
requiredDocuments: string;
/** */
waitlistCurrentSize: number;
/** */
waitlistMaxSize: number;
/** */
whatToExpect: CombinedWhatToExpectTypes;
/** */
applicationConfig?: object;
}
export interface ApplicationMethodUpdate {
/** */
type: ApplicationMethodType;
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
label: string;
/** */
externalReference: string;
/** */
acceptsPostmarkedApplications: boolean;
}
export interface AssetUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
label: string;
/** */
fileId: string;
}
export interface PreferenceUpdate {
/** */
ordinal: number;
/** */
title: string;
/** */
subtitle: string;
/** */
description: string;
/** */
links: PreferenceLink[];
/** */
id: string;
}
export interface ListingEventUpdate {
/** */
type: ListingEventType;
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
startTime: Date;
/** */
endTime: Date;
/** */
url?: string;
/** */
note?: string;
}
export interface AddressUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
placeName?: string;
/** */
city: string;
/** */
county?: string;
/** */
state: string;
/** */
street: string;
/** */
street2?: string;
/** */
zipCode: string;
/** */
latitude?: number;
/** */
longitude?: number;
}
export interface ListingUpdate {
/** */
status: ListingStatus;
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
applicationMethods: ApplicationMethodUpdate[];
/** */
assets: AssetUpdate[];
/** */
preferences: PreferenceUpdate[];
/** */
property: Id;
/** */
events: ListingEventUpdate[];
/** */
applicationAddress: CombinedApplicationAddressTypes;
/** */
applicationPickUpAddress: CombinedApplicationPickUpAddressTypes;
/** */
leasingAgentAddress: CombinedLeasingAgentAddressTypes;
/** */
applicationDueDate: Date;
/** */
applicationOpenDate: Date;
/** */
applicationFee: string;
/** */
applicationOrganization: string;
/** */
applicationPickUpAddressOfficeHours: string;
/** */
buildingSelectionCriteria: string;
/** */
costsNotIncluded: string;
/** */
creditHistory: string;
/** */
criminalBackground: string;
/** */
depositMin: string;
/** */
depositMax: string;
/** */
disableUnitsAccordion: boolean;
/** */
leasingAgentEmail: string;
/** */
leasingAgentName: string;
/** */
leasingAgentOfficeHours: string;
/** */
leasingAgentPhone: string;
/** */
leasingAgentTitle: string;
/** */
name: string;
/** */
postmarkedApplicationsReceivedByDate: Date;
/** */
programRules: string;

@@ -543,52 +2348,123 @@

/** */
smokingPolicy: string;
waitlistCurrentSize: number;
/** */
unitsAvailable: number;
waitlistMaxSize: number;
/** */
unitAmenities: string;
whatToExpect: CombinedWhatToExpectTypes;
/** */
waitlistCurrentSize: number;
applicationConfig?: object;
}
export interface Applicant {
/** */
waitlistMaxSize: number;
address: Address;
/** */
whatToExpect: object;
workAddress: Address;
/** */
yearBuilt: number;
id: string;
/** */
unitsSummarized: object;
createdAt: Date;
/** */
urlSlug: string;
updatedAt: Date;
/** */
applications: Application[];
firstName: string;
/** */
status: EnumListingStatus;
middleName: string;
/** */
lastName: string;
/** */
birthMonth: string;
/** */
birthDay: string;
/** */
birthYear: string;
/** */
emailAddress?: string;
/** */
noEmail: boolean;
/** */
phoneNumber: string;
/** */
phoneNumberType: string;
/** */
noPhone: boolean;
/** */
workInRegion: string;
}
export interface ListingsListResponse {
export interface AlternateContact {
/** */
status: EnumListingsListResponseStatus;
mailingAddress: Address;
/** */
listings: Listing[];
id: string;
/** */
amiCharts: object;
createdAt: Date;
/** */
updatedAt: Date;
/** */
type: string;
/** */
otherType: string;
/** */
firstName: string;
/** */
lastName: string;
/** */
agency: string;
/** */
phoneNumber: string;
/** */
emailAddress: string;
}
export interface IdDto {
export interface Accessibility {
/** */
mobility: boolean;
/** */
vision: boolean;
/** */
hearing: boolean;
/** */
id: string;
/** */
createdAt: Date;
/** */
updatedAt: Date;
}
export interface ApplicationDto {
export interface Demographics {
/** */

@@ -598,11 +2474,34 @@ id: string;

/** */
application: object;
createdAt: Date;
/** */
user: IdDto;
updatedAt: Date;
/** */
listing: IdDto;
ethnicity: string;
/** */
gender: string;
/** */
sexualOrientation: string;
/** */
howDidYouHear: string[];
/** */
race?: string;
}
export interface HouseholdMember {
/** */
address: Address;
/** */
workAddress: Address;
/** */
id: string;
/** */
createdAt: Date;

@@ -612,38 +2511,1072 @@

updatedAt: Date;
/** */
orderId?: number;
/** */
firstName: string;
/** */
middleName: string;
/** */
lastName: string;
/** */
birthMonth: string;
/** */
birthDay: string;
/** */
birthYear: string;
/** */
emailAddress: string;
/** */
noEmail: boolean;
/** */
phoneNumber: string;
/** */
phoneNumberType: string;
/** */
noPhone: boolean;
/** */
sameAddress?: string;
/** */
relationship?: string;
/** */
workInRegion?: string;
}
export interface ApplicationCreateDto {
export interface ApplicationPreferences {
/** */
application: object;
id: string;
/** */
listing: IdDto;
createdAt: Date;
/** */
user: IdDto;
updatedAt: Date;
/** */
liveIn: boolean;
/** */
none: boolean;
/** */
workIn: boolean;
}
export interface ApplicationUpdateDto {
export interface Application {
/** */
application: object;
incomePeriod: IncomePeriod;
/** */
listing: IdDto;
status: ApplicationStatus;
/** */
user: IdDto;
language: Language;
/** */
submissionType: ApplicationSubmissionType;
/** */
listing: Listing;
/** */
applicant: Applicant;
/** */
mailingAddress: Address;
/** */
alternateAddress: Address;
/** */
alternateContact: AlternateContact;
/** */
accessibility: Accessibility;
/** */
demographics: Demographics;
/** */
householdMembers: HouseholdMember[];
/** */
preferences: ApplicationPreferences;
/** */
id: string;
/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
appUrl: string;
/** */
additionalPhone: boolean;
/** */
additionalPhoneNumber: string;
/** */
additionalPhoneNumberType: string;
/** */
contactPreferences: string[];
/** */
householdSize: number;
/** */
housingStatus: string;
/** */
sendMailToMailingAddress: boolean;
/** */
incomeVouchers: boolean;
/** */
income: string;
/** */
preferredUnit: string[];
/** */
acceptedTerms: boolean;
}
export enum EnumAttachmentType {
'ApplicationDownload' = 'ApplicationDownload',
'ExternalApplication' = 'ExternalApplication'
export interface PaginationMeta {
/** */
currentPage: number;
/** */
itemCount: number;
/** */
itemsPerPage: number;
/** */
totalItems: number;
/** */
totalPages: number;
}
export enum EnumListingStatus {
export interface PaginatedApplication {
/** */
items: Application[];
/** */
meta: PaginationMeta;
}
export interface ApplicantCreate {
/** */
address: AddressCreate;
/** */
workAddress: AddressCreate;
/** */
firstName: string;
/** */
middleName: string;
/** */
lastName: string;
/** */
birthMonth: string;
/** */
birthDay: string;
/** */
birthYear: string;
/** */
emailAddress?: string;
/** */
noEmail: boolean;
/** */
phoneNumber: string;
/** */
phoneNumberType: string;
/** */
noPhone: boolean;
/** */
workInRegion: string;
}
export interface AlternateContactCreate {
/** */
mailingAddress: AddressCreate;
/** */
type: string;
/** */
otherType: string;
/** */
firstName: string;
/** */
lastName: string;
/** */
agency: string;
/** */
phoneNumber: string;
/** */
emailAddress: string;
}
export interface AccessibilityCreate {
/** */
mobility: boolean;
/** */
vision: boolean;
/** */
hearing: boolean;
}
export interface DemographicsCreate {
/** */
ethnicity: string;
/** */
gender: string;
/** */
sexualOrientation: string;
/** */
howDidYouHear: string[];
/** */
race?: string;
}
export interface HouseholdMemberCreate {
/** */
address: AddressCreate;
/** */
workAddress: AddressCreate;
/** */
orderId?: number;
/** */
firstName: string;
/** */
middleName: string;
/** */
lastName: string;
/** */
birthMonth: string;
/** */
birthDay: string;
/** */
birthYear: string;
/** */
emailAddress: string;
/** */
noEmail: boolean;
/** */
phoneNumber: string;
/** */
phoneNumberType: string;
/** */
noPhone: boolean;
/** */
sameAddress?: string;
/** */
relationship?: string;
/** */
workInRegion?: string;
}
export interface ApplicationPreferencesCreate {
/** */
liveIn: boolean;
/** */
none: boolean;
/** */
workIn: boolean;
}
export interface ApplicationCreate {
/** */
incomePeriod: IncomePeriod;
/** */
status: ApplicationStatus;
/** */
language: Language;
/** */
submissionType: ApplicationSubmissionType;
/** */
listing: Id;
/** */
applicant: ApplicantCreate;
/** */
mailingAddress: AddressCreate;
/** */
alternateAddress: AddressCreate;
/** */
alternateContact: AlternateContactCreate;
/** */
accessibility: AccessibilityCreate;
/** */
demographics: DemographicsCreate;
/** */
householdMembers: HouseholdMemberCreate[];
/** */
preferences: ApplicationPreferencesCreate;
/** */
appUrl: string;
/** */
additionalPhone: boolean;
/** */
additionalPhoneNumber: string;
/** */
additionalPhoneNumberType: string;
/** */
contactPreferences: string[];
/** */
householdSize: number;
/** */
housingStatus: string;
/** */
sendMailToMailingAddress: boolean;
/** */
incomeVouchers: boolean;
/** */
income: string;
/** */
preferredUnit: string[];
/** */
acceptedTerms: boolean;
}
export interface ApplicantUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
address: AddressUpdate;
/** */
workAddress: AddressUpdate;
/** */
firstName: string;
/** */
middleName: string;
/** */
lastName: string;
/** */
birthMonth: string;
/** */
birthDay: string;
/** */
birthYear: string;
/** */
emailAddress?: string;
/** */
noEmail: boolean;
/** */
phoneNumber: string;
/** */
phoneNumberType: string;
/** */
noPhone: boolean;
/** */
workInRegion: string;
}
export interface AlternateContactUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
mailingAddress: AddressUpdate;
/** */
type: string;
/** */
otherType: string;
/** */
firstName: string;
/** */
lastName: string;
/** */
agency: string;
/** */
phoneNumber: string;
/** */
emailAddress: string;
}
export interface AccessibilityUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
mobility: boolean;
/** */
vision: boolean;
/** */
hearing: boolean;
}
export interface DemographicsUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
ethnicity: string;
/** */
gender: string;
/** */
sexualOrientation: string;
/** */
howDidYouHear: string[];
/** */
race?: string;
}
export interface HouseholdMemberUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
address: AddressUpdate;
/** */
workAddress: AddressUpdate;
/** */
orderId?: number;
/** */
firstName: string;
/** */
middleName: string;
/** */
lastName: string;
/** */
birthMonth: string;
/** */
birthDay: string;
/** */
birthYear: string;
/** */
emailAddress: string;
/** */
noEmail: boolean;
/** */
phoneNumber: string;
/** */
phoneNumberType: string;
/** */
noPhone: boolean;
/** */
sameAddress?: string;
/** */
relationship?: string;
/** */
workInRegion?: string;
}
export interface ApplicationPreferencesUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
liveIn: boolean;
/** */
none: boolean;
/** */
workIn: boolean;
}
export interface ApplicationUpdate {
/** */
incomePeriod: IncomePeriod;
/** */
status: ApplicationStatus;
/** */
language: Language;
/** */
submissionType: ApplicationSubmissionType;
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
listing: Id;
/** */
applicant: ApplicantUpdate;
/** */
mailingAddress: AddressUpdate;
/** */
alternateAddress: AddressUpdate;
/** */
alternateContact: AlternateContactUpdate;
/** */
accessibility: AccessibilityUpdate;
/** */
demographics: DemographicsUpdate;
/** */
householdMembers: HouseholdMemberUpdate[];
/** */
preferences: ApplicationPreferencesUpdate;
/** */
appUrl: string;
/** */
additionalPhone: boolean;
/** */
additionalPhoneNumber: string;
/** */
additionalPhoneNumberType: string;
/** */
contactPreferences: string[];
/** */
householdSize: number;
/** */
housingStatus: string;
/** */
sendMailToMailingAddress: boolean;
/** */
incomeVouchers: boolean;
/** */
income: string;
/** */
preferredUnit: string[];
/** */
acceptedTerms: boolean;
}
export interface UnitCreate {
/** */
amiChart: CombinedAmiChartTypes;
/** */
amiPercentage?: string;
/** */
annualIncomeMin?: string;
/** */
monthlyIncomeMin?: string;
/** */
floor?: number;
/** */
annualIncomeMax?: string;
/** */
maxOccupancy?: number;
/** */
minOccupancy?: number;
/** */
monthlyRent?: string;
/** */
numBathrooms?: number;
/** */
numBedrooms?: number;
/** */
number?: string;
/** */
priorityType?: string;
/** */
reservedType?: string;
/** */
sqFeet?: string;
/** */
status?: string;
/** */
unitType?: string;
/** */
monthlyRentAsPercentOfIncome?: string;
/** */
bmrProgramChart?: boolean;
}
export interface UnitUpdate {
/** */
amiChart: CombinedAmiChartTypes;
/** */
amiPercentage?: string;
/** */
annualIncomeMin?: string;
/** */
monthlyIncomeMin?: string;
/** */
floor?: number;
/** */
annualIncomeMax?: string;
/** */
maxOccupancy?: number;
/** */
minOccupancy?: number;
/** */
monthlyRent?: string;
/** */
numBathrooms?: number;
/** */
numBedrooms?: number;
/** */
number?: string;
/** */
priorityType?: string;
/** */
reservedType?: string;
/** */
sqFeet?: string;
/** */
status?: string;
/** */
unitType?: string;
/** */
monthlyRentAsPercentOfIncome?: string;
/** */
bmrProgramChart?: boolean;
/** */
id: string;
}
export interface PropertyCreate {
/** */
buildingAddress: AddressUpdate;
/** */
units: UnitCreate[];
/** */
accessibility: string;
/** */
amenities: string;
/** */
buildingTotalUnits: number;
/** */
developer: string;
/** */
householdSizeMax: number;
/** */
householdSizeMin: number;
/** */
neighborhood: string;
/** */
petPolicy: string;
/** */
smokingPolicy: string;
/** */
unitsAvailable: number;
/** */
unitAmenities: string;
/** */
yearBuilt: number;
}
export interface PropertyUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
buildingAddress: AddressUpdate;
/** */
units: UnitUpdate[];
/** */
accessibility: string;
/** */
amenities: string;
/** */
buildingTotalUnits: number;
/** */
developer: string;
/** */
householdSizeMax: number;
/** */
householdSizeMin: number;
/** */
neighborhood: string;
/** */
petPolicy: string;
/** */
smokingPolicy: string;
/** */
unitsAvailable: number;
/** */
unitAmenities: string;
/** */
yearBuilt: number;
}
export interface PropertyGroup {
/** */
properties: Id[];
/** */
id: string;
/** */
createdAt: Date;
/** */
updatedAt: Date;
/** */
name: string;
}
export interface PropertyGroupCreate {
/** */
name: string;
/** */
properties: Id[];
}
export interface PropertyGroupUpdate {
/** */
name: string;
/** */
properties: Id[];
/** */
id: string;
}
export interface AmiChartItemCreate {
/** */
percentOfAmi: number;
/** */
householdSize: number;
/** */
income: number;
}
export interface AmiChartCreate {
/** */
items: AmiChartItemCreate[];
/** */
name: string;
}
export interface AmiChartItemUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
percentOfAmi: number;
/** */
householdSize: number;
/** */
income: number;
}
export interface AmiChartUpdate {
/** */
id?: string;
/** */
createdAt?: Date;
/** */
updatedAt?: Date;
/** */
items: AmiChartItemUpdate[];
/** */
name: string;
}
export enum ListingStatus {
'active' = 'active',
'pending' = 'pending'
}
export enum EnumListingsListResponseStatus {
'ok' = 'ok'
export enum ApplicationMethodType {
'Internal' = 'Internal',
'FileDownload' = 'FileDownload',
'ExternalLink' = 'ExternalLink',
'PaperPickup' = 'PaperPickup',
'POBox' = 'POBox',
'LeasingAgent' = 'LeasingAgent'
}
export type CombinedAmiChartTypes = (AmiChart & any) | null;
export enum ListingEventType {
'openHouse' = 'openHouse',
'publicLottery' = 'publicLottery'
}
export type CombinedApplicationAddressTypes = (AddressUpdate & any) | null;
export type CombinedApplicationPickUpAddressTypes = (AddressUpdate & any) | null;
export type CombinedLeasingAgentAddressTypes = (AddressUpdate & any) | null;
export type CombinedWhatToExpectTypes = (WhatToExpect & any) | null;
export enum IncomePeriod {
'perMonth' = 'perMonth',
'perYear' = 'perYear'
}
export enum ApplicationStatus {
'draft' = 'draft',
'submitted' = 'submitted',
'removed' = 'removed'
}
export enum Language {
'en' = 'en',
'es' = 'es'
}
export enum ApplicationSubmissionType {
'paper' = 'paper',
'electronical' = 'electronical'
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc