@allthings/sdk
Advanced tools
Comparing version 2.8.0 to 2.9.0
@@ -1,3 +0,3 @@ | ||
export { default as restClient, EnumCommunicationPreferenceChannel, EnumUserPermissionRole, EnumUnitType, EnumUserPermissionObjectType, EnumUserRelationType, } from './rest'; | ||
export { default as restClient, EnumCommunicationPreferenceChannel, EnumUserPermissionRole, EnumUnitObjectType, EnumUnitType, EnumUserPermissionObjectType, EnumUserRelationType, } from './rest'; | ||
export { EnumCountryCode, EnumLocale, EnumResource, EnumServiceProviderType, EnumTimezone, IAllthingsRestClient, IAllthingsRestClientOptions, } from './rest/types'; | ||
export { default as createTokenStore } from './oauth/createTokenStore'; |
@@ -1,6 +0,6 @@ | ||
import { EnumUnitType } from './methods/unit'; | ||
import { EnumUnitObjectType, EnumUnitType } from './methods/unit'; | ||
import { EnumCommunicationPreferenceChannel, EnumUserPermissionObjectType, EnumUserPermissionRole } from './methods/user'; | ||
import { EnumUserRelationType } from './methods/userRelation'; | ||
import { IAllthingsRestClient, IAllthingsRestClientOptions } from './types'; | ||
export { EnumCommunicationPreferenceChannel, EnumUserPermissionRole, EnumUnitType, EnumUserPermissionObjectType, EnumUserRelationType, }; | ||
export { EnumCommunicationPreferenceChannel, EnumUserPermissionRole, EnumUnitObjectType, EnumUnitType, EnumUserPermissionObjectType, EnumUserRelationType, }; | ||
export default function restClient(userOptions?: Partial<IAllthingsRestClientOptions>): IAllthingsRestClient; |
import { EntityResultList, IAllthingsRestClient } from '../types'; | ||
export declare enum EnumUnitObjectType { | ||
adjoiningRoom = "adjoining-room", | ||
advertisingSpace = "advertising-space", | ||
aerial = "aerial", | ||
apartmentBuilding = "apartment-building", | ||
atm = "atm", | ||
atmRoom = "atm-room", | ||
attic = "attic", | ||
atticFlat = "attic-flat", | ||
bank = "bank", | ||
basment = "basment", | ||
bikeShed = "bike-shed", | ||
buildingLaw = "building-law", | ||
cafeteria = "cafeteria", | ||
caretakerRoom = "caretaker-room", | ||
carport = "carport", | ||
cellar = "cellar", | ||
commercialProperty = "commercial-property", | ||
commonRoom = "common-room", | ||
deliveryZone = "delivery-zone", | ||
diverse = "diverse", | ||
doubleParkingSpace = "double-parking-space", | ||
engineeringRoom = "engineering-room", | ||
entertainment = "entertainment", | ||
environment = "environment", | ||
estate = "estate", | ||
fillingStation = "filling-station", | ||
fitnessCenter = "fitness-center", | ||
flat = "flat", | ||
freeZone = "free-zone", | ||
garage = "garage", | ||
garden = "garden", | ||
gardenFlat = "garden-flat", | ||
heatingFacilities = "heating-facilities", | ||
hotel = "hotel", | ||
incidentalRentalExpenses = "incidental-rental-expenses", | ||
industry = "industry", | ||
kiosk = "kiosk", | ||
kitchen = "kitchen", | ||
loft = "loft", | ||
machine = "machine", | ||
maisonette = "maisonette", | ||
medicalPractice = "medical-practice", | ||
mopedShed = "moped-shed", | ||
motorcycleParkingSpace = "motorcycle-parking-space", | ||
office = "office", | ||
oneFamilyHouse = "one-family-house", | ||
parkingBox = "parking-box", | ||
parkingGarage = "parking-garage", | ||
parkingSpace = "parking-space", | ||
parkingSpaces = "parking-spaces", | ||
penthouse = "penthouse", | ||
productionPlant = "production-plant", | ||
pub = "pub", | ||
publicArea = "public-area", | ||
restaurant = "restaurant", | ||
retirementHome = "retirement-home", | ||
salesFloor = "sales-floor", | ||
school = "school", | ||
shelter = "shelter", | ||
storage = "storage", | ||
store = "store", | ||
storeroom = "storeroom", | ||
studio = "studio", | ||
terrace = "terrace", | ||
toilets = "toilets", | ||
utilityRoom = "utility-room", | ||
variableParkingSpace = "variable-parking-space", | ||
variableRoom = "variable-room", | ||
visitorParkingSpace = "visitor-parking-space", | ||
workshop = "workshop" | ||
} | ||
export declare enum EnumUnitType { | ||
@@ -7,11 +79,13 @@ rented = "rented", | ||
export interface IUnit { | ||
readonly externalId: string | null; | ||
readonly externalId?: string; | ||
readonly id: string; | ||
readonly name: string; | ||
readonly stats: { | ||
readonly tenantCount: number | null; | ||
readonly invitationCount: number | null; | ||
readonly objectType?: EnumUnitObjectType; | ||
readonly readOnly?: boolean; | ||
readonly size?: number; | ||
readonly stats?: { | ||
readonly invitationCount?: number; | ||
readonly tenantCount?: number; | ||
}; | ||
readonly type: EnumUnitType; | ||
readonly readOnly: boolean; | ||
} | ||
@@ -18,0 +92,0 @@ export declare type PartialUnit = Partial<IUnit>; |
{ | ||
"name": "@allthings/sdk", | ||
"version": "2.8.0", | ||
"version": "2.9.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "Allthings GmbH", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
886034
36823