@steffesgroup/steffes-auth
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -74,2 +74,4 @@ import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios'; | ||
getAllUsers(): Promise<UserDTO[]>; | ||
getUsersPaged(userSearchPagedDTO: UserSearchPagedDTO): Promise<PaginatedResultOfUserDTO>; | ||
getLegacyUserById(userId: number): Promise<UserDTO2>; | ||
} | ||
@@ -115,2 +117,6 @@ export declare class UserClient extends AuthorizedApiBase implements IUserClient { | ||
protected processGetAllUsers(response: AxiosResponse): Promise<UserDTO[]>; | ||
getUsersPaged(userSearchPagedDTO: UserSearchPagedDTO, cancelToken?: CancelToken | undefined): Promise<PaginatedResultOfUserDTO>; | ||
protected processGetUsersPaged(response: AxiosResponse): Promise<PaginatedResultOfUserDTO>; | ||
getLegacyUserById(userId: number, cancelToken?: CancelToken | undefined): Promise<UserDTO2>; | ||
protected processGetLegacyUserById(response: AxiosResponse): Promise<UserDTO2>; | ||
} | ||
@@ -255,2 +261,3 @@ export declare class TokenDTO implements ITokenDTO { | ||
staffUser?: StaffUserDTO | undefined; | ||
consignorUser?: ConsignorUserDTO | undefined; | ||
offices?: UserOfficeDTO[] | undefined; | ||
@@ -282,2 +289,3 @@ bidderUser?: BidderUserDTO | undefined; | ||
staffUser?: StaffUserDTO | undefined; | ||
consignorUser?: ConsignorUserDTO | undefined; | ||
offices?: UserOfficeDTO[] | undefined; | ||
@@ -408,2 +416,692 @@ bidderUser?: BidderUserDTO | undefined; | ||
} | ||
export declare class ConsignorUserDTO extends BaseModel implements IConsignorUserDTO { | ||
userId?: string; | ||
user?: UserDTO | undefined; | ||
auctions?: AuctionDTO[] | undefined; | ||
lots?: LotDTO[] | undefined; | ||
constructor(data?: IConsignorUserDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): ConsignorUserDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IConsignorUserDTO extends IBaseModel { | ||
userId?: string; | ||
user?: UserDTO | undefined; | ||
auctions?: AuctionDTO[] | undefined; | ||
lots?: LotDTO[] | undefined; | ||
} | ||
export declare class AuctionDTO extends BaseModel implements IAuctionDTO { | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
termsAndConditions?: string | undefined; | ||
autoApproveBidRequests?: boolean; | ||
multiSeller?: boolean; | ||
sellerContract?: string | undefined; | ||
officeId?: string | undefined; | ||
office?: OfficeDTO | undefined; | ||
sellerId?: string | undefined; | ||
invoiceNotes?: string | undefined; | ||
expectedGTV?: number; | ||
gpCode?: string | undefined; | ||
rings?: RingDTO[] | undefined; | ||
auctionCommissionSplits?: AuctionCommissionSplitDTO[] | undefined; | ||
files?: AuctionFileDTO[] | undefined; | ||
contracts?: ContractDTO[] | undefined; | ||
constructor(data?: IAuctionDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): AuctionDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IAuctionDTO extends IBaseModel { | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
termsAndConditions?: string | undefined; | ||
autoApproveBidRequests?: boolean; | ||
multiSeller?: boolean; | ||
sellerContract?: string | undefined; | ||
officeId?: string | undefined; | ||
office?: OfficeDTO | undefined; | ||
sellerId?: string | undefined; | ||
invoiceNotes?: string | undefined; | ||
expectedGTV?: number; | ||
gpCode?: string | undefined; | ||
rings?: RingDTO[] | undefined; | ||
auctionCommissionSplits?: AuctionCommissionSplitDTO[] | undefined; | ||
files?: AuctionFileDTO[] | undefined; | ||
contracts?: ContractDTO[] | undefined; | ||
} | ||
export declare class RingDTO implements IRingDTO { | ||
id?: string; | ||
auctionId?: string; | ||
auction?: AuctionDTO | undefined; | ||
nextLotId?: number | undefined; | ||
bidPathId?: number | undefined; | ||
steffesId?: number | undefined; | ||
order?: number; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
keywords?: string | undefined; | ||
timeZone?: string | undefined; | ||
location?: string | undefined; | ||
slug?: string | undefined; | ||
alert?: string | undefined; | ||
alertType?: AlertType | undefined; | ||
showAlertAfterClose?: boolean; | ||
startDate?: Date; | ||
onSiteStartDate?: Date | undefined; | ||
absenteeStartDate?: Date | undefined; | ||
absenteeEndDate?: Date | undefined; | ||
endDate?: Date; | ||
address?: Address | undefined; | ||
auctionType?: AuctionType; | ||
nextLotType?: NextLotType | undefined; | ||
webcastStatus?: WebcastStatus | undefined; | ||
defaultTab?: Tab; | ||
suspended?: boolean; | ||
published?: boolean; | ||
staggered?: boolean; | ||
infoTab?: boolean; | ||
listingTab?: boolean; | ||
categoryTab?: boolean; | ||
mapTab?: boolean; | ||
bidWarningAmount?: number | undefined; | ||
extensionIncrement?: number | undefined; | ||
staggerIncrement?: number | undefined; | ||
staggerSize?: number | undefined; | ||
realEstateListingPrice?: number | undefined; | ||
syncLotsToNextLot?: boolean; | ||
stateTaxRate?: number | undefined; | ||
countyTaxRate?: number | undefined; | ||
cityTaxRate?: number | undefined; | ||
districtTaxRate?: number | undefined; | ||
ringCategories?: RingRingCategoryDTO[] | undefined; | ||
photos?: RingPhotoDTO[] | undefined; | ||
lots?: LotDTO[] | undefined; | ||
constructor(data?: IRingDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): RingDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IRingDTO { | ||
id?: string; | ||
auctionId?: string; | ||
auction?: AuctionDTO | undefined; | ||
nextLotId?: number | undefined; | ||
bidPathId?: number | undefined; | ||
steffesId?: number | undefined; | ||
order?: number; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
keywords?: string | undefined; | ||
timeZone?: string | undefined; | ||
location?: string | undefined; | ||
slug?: string | undefined; | ||
alert?: string | undefined; | ||
alertType?: AlertType | undefined; | ||
showAlertAfterClose?: boolean; | ||
startDate?: Date; | ||
onSiteStartDate?: Date | undefined; | ||
absenteeStartDate?: Date | undefined; | ||
absenteeEndDate?: Date | undefined; | ||
endDate?: Date; | ||
address?: Address | undefined; | ||
auctionType?: AuctionType; | ||
nextLotType?: NextLotType | undefined; | ||
webcastStatus?: WebcastStatus | undefined; | ||
defaultTab?: Tab; | ||
suspended?: boolean; | ||
published?: boolean; | ||
staggered?: boolean; | ||
infoTab?: boolean; | ||
listingTab?: boolean; | ||
categoryTab?: boolean; | ||
mapTab?: boolean; | ||
bidWarningAmount?: number | undefined; | ||
extensionIncrement?: number | undefined; | ||
staggerIncrement?: number | undefined; | ||
staggerSize?: number | undefined; | ||
realEstateListingPrice?: number | undefined; | ||
syncLotsToNextLot?: boolean; | ||
stateTaxRate?: number | undefined; | ||
countyTaxRate?: number | undefined; | ||
cityTaxRate?: number | undefined; | ||
districtTaxRate?: number | undefined; | ||
ringCategories?: RingRingCategoryDTO[] | undefined; | ||
photos?: RingPhotoDTO[] | undefined; | ||
lots?: LotDTO[] | undefined; | ||
} | ||
export declare enum AlertType { | ||
Info = 0, | ||
Warning = 1 | ||
} | ||
export declare enum AuctionType { | ||
TimedOnline = 0, | ||
LiveOnSite = 1, | ||
Listing = 2 | ||
} | ||
export declare enum NextLotType { | ||
Webcast = 0, | ||
AbsenteeWebcast = 1 | ||
} | ||
export declare enum WebcastStatus { | ||
Planned = 0, | ||
Preparing = 1, | ||
PreparedOk = 2, | ||
Running = 3, | ||
Closed = 4, | ||
PrepareError = 5, | ||
Destroying = 6, | ||
DestroyError = 7 | ||
} | ||
export declare enum Tab { | ||
Info = 0, | ||
Listing = 1, | ||
Category = 2, | ||
Map = 3 | ||
} | ||
export declare class RingRingCategoryDTO implements IRingRingCategoryDTO { | ||
id?: string; | ||
ringId?: string; | ||
ring?: RingDTO | undefined; | ||
ringCategoryId?: string; | ||
ringCategory?: RingCategoryDTO | undefined; | ||
constructor(data?: IRingRingCategoryDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): RingRingCategoryDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IRingRingCategoryDTO { | ||
id?: string; | ||
ringId?: string; | ||
ring?: RingDTO | undefined; | ||
ringCategoryId?: string; | ||
ringCategory?: RingCategoryDTO | undefined; | ||
} | ||
export declare class RingCategoryDTO implements IRingCategoryDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
constructor(data?: IRingCategoryDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): RingCategoryDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IRingCategoryDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
} | ||
export declare class RingPhotoDTO implements IRingPhotoDTO { | ||
id?: string; | ||
steffesId?: number | undefined; | ||
ringId?: string; | ||
sortOrder?: number; | ||
fileName?: string | undefined; | ||
constructor(data?: IRingPhotoDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): RingPhotoDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IRingPhotoDTO { | ||
id?: string; | ||
steffesId?: number | undefined; | ||
ringId?: string; | ||
sortOrder?: number; | ||
fileName?: string | undefined; | ||
} | ||
export declare class LotDTO implements ILotDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
ringId?: string | undefined; | ||
ring?: RingDTO | undefined; | ||
steffesId?: number | undefined; | ||
bidPathItemId?: number | undefined; | ||
bidPathLotId?: number | undefined; | ||
nextLotId?: number | undefined; | ||
lotNumber?: string | undefined; | ||
tagNumber?: string | undefined; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
startingBid?: number | undefined; | ||
lowEstimate?: number | undefined; | ||
highEstimate?: number | undefined; | ||
reserve?: number | undefined; | ||
quantity?: number; | ||
year?: number | undefined; | ||
keywords?: string | undefined; | ||
address?: Address | undefined; | ||
closingTime?: Date; | ||
published?: boolean; | ||
pulledFromSale?: boolean; | ||
disabled?: boolean; | ||
extended?: boolean; | ||
categoryId?: string | undefined; | ||
category?: CategoryDTO | undefined; | ||
sellerId?: string | undefined; | ||
seller?: ConsignorUserDTO | undefined; | ||
staffUserId?: string | undefined; | ||
staffUser?: StaffUserDTO | undefined; | ||
contractId?: string | undefined; | ||
contract?: ContractDTO | undefined; | ||
makeId?: string | undefined; | ||
make?: MakeDTO | undefined; | ||
modelId?: string | undefined; | ||
model?: ModelDTO | undefined; | ||
stateTaxRate?: number | undefined; | ||
countyTaxRate?: number | undefined; | ||
cityTaxRate?: number | undefined; | ||
districtTaxRate?: number | undefined; | ||
terms?: string | undefined; | ||
engineSpecification?: EngineSpecificationDTO | undefined; | ||
landSpecification?: LandSpecificationDTO | undefined; | ||
transmissionSpecification?: TransmissionSpecificationDTO | undefined; | ||
photos?: LotPhotoDTO[] | undefined; | ||
bidIncrements?: LotBidIncrementDTO[] | undefined; | ||
files?: LotFileDTO[] | undefined; | ||
constructor(data?: ILotDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): LotDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ILotDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
ringId?: string | undefined; | ||
ring?: RingDTO | undefined; | ||
steffesId?: number | undefined; | ||
bidPathItemId?: number | undefined; | ||
bidPathLotId?: number | undefined; | ||
nextLotId?: number | undefined; | ||
lotNumber?: string | undefined; | ||
tagNumber?: string | undefined; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
startingBid?: number | undefined; | ||
lowEstimate?: number | undefined; | ||
highEstimate?: number | undefined; | ||
reserve?: number | undefined; | ||
quantity?: number; | ||
year?: number | undefined; | ||
keywords?: string | undefined; | ||
address?: Address | undefined; | ||
closingTime?: Date; | ||
published?: boolean; | ||
pulledFromSale?: boolean; | ||
disabled?: boolean; | ||
extended?: boolean; | ||
categoryId?: string | undefined; | ||
category?: CategoryDTO | undefined; | ||
sellerId?: string | undefined; | ||
seller?: ConsignorUserDTO | undefined; | ||
staffUserId?: string | undefined; | ||
staffUser?: StaffUserDTO | undefined; | ||
contractId?: string | undefined; | ||
contract?: ContractDTO | undefined; | ||
makeId?: string | undefined; | ||
make?: MakeDTO | undefined; | ||
modelId?: string | undefined; | ||
model?: ModelDTO | undefined; | ||
stateTaxRate?: number | undefined; | ||
countyTaxRate?: number | undefined; | ||
cityTaxRate?: number | undefined; | ||
districtTaxRate?: number | undefined; | ||
terms?: string | undefined; | ||
engineSpecification?: EngineSpecificationDTO | undefined; | ||
landSpecification?: LandSpecificationDTO | undefined; | ||
transmissionSpecification?: TransmissionSpecificationDTO | undefined; | ||
photos?: LotPhotoDTO[] | undefined; | ||
bidIncrements?: LotBidIncrementDTO[] | undefined; | ||
files?: LotFileDTO[] | undefined; | ||
} | ||
export declare class CategoryDTO implements ICategoryDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
steffesCode?: string | undefined; | ||
parentId?: string | undefined; | ||
parent?: CategoryDTO | undefined; | ||
fields?: CategoryFieldDTO[] | undefined; | ||
constructor(data?: ICategoryDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): CategoryDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ICategoryDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
steffesCode?: string | undefined; | ||
parentId?: string | undefined; | ||
parent?: CategoryDTO | undefined; | ||
fields?: CategoryFieldDTO[] | undefined; | ||
} | ||
export declare class CategoryFieldDTO implements ICategoryFieldDTO { | ||
id?: string; | ||
createdOn?: Date; | ||
updatedOn?: Date; | ||
categoryId?: string; | ||
category?: CategoryDTO | undefined; | ||
mapTo?: string | undefined; | ||
label?: string | undefined; | ||
required?: boolean; | ||
order?: number; | ||
inputType?: InputType; | ||
defaultValue?: string | undefined; | ||
options?: CategoryFieldOptionDTO[] | undefined; | ||
constructor(data?: ICategoryFieldDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): CategoryFieldDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ICategoryFieldDTO { | ||
id?: string; | ||
createdOn?: Date; | ||
updatedOn?: Date; | ||
categoryId?: string; | ||
category?: CategoryDTO | undefined; | ||
mapTo?: string | undefined; | ||
label?: string | undefined; | ||
required?: boolean; | ||
order?: number; | ||
inputType?: InputType; | ||
defaultValue?: string | undefined; | ||
options?: CategoryFieldOptionDTO[] | undefined; | ||
} | ||
export declare enum InputType { | ||
Text = 0, | ||
Dropdown = 1, | ||
Number = 2, | ||
Decimal = 3 | ||
} | ||
export declare class CategoryFieldOptionDTO implements ICategoryFieldOptionDTO { | ||
id?: string; | ||
createdOn?: Date; | ||
updatedOn?: Date; | ||
categoryFieldId?: string; | ||
categoryField?: CategoryFieldDTO | undefined; | ||
option?: string | undefined; | ||
constructor(data?: ICategoryFieldOptionDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): CategoryFieldOptionDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ICategoryFieldOptionDTO { | ||
id?: string; | ||
createdOn?: Date; | ||
updatedOn?: Date; | ||
categoryFieldId?: string; | ||
categoryField?: CategoryFieldDTO | undefined; | ||
option?: string | undefined; | ||
} | ||
export declare class ContractDTO extends BaseModel implements IContractDTO { | ||
auctionId?: string | undefined; | ||
auction?: AuctionDTO | undefined; | ||
name?: string | undefined; | ||
file?: string | undefined; | ||
notes?: string | undefined; | ||
commisionType?: CommissionType; | ||
commissionRate?: number; | ||
minimumCommissionPerLot?: number; | ||
noSaleCommisionType?: NoSaleCommisionType; | ||
noSaleCommission?: number; | ||
consignors?: ConsignorContractDTO[] | undefined; | ||
staff?: StaffContractDTO[] | undefined; | ||
lots?: LotDTO[] | undefined; | ||
constructor(data?: IContractDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): ContractDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IContractDTO extends IBaseModel { | ||
auctionId?: string | undefined; | ||
auction?: AuctionDTO | undefined; | ||
name?: string | undefined; | ||
file?: string | undefined; | ||
notes?: string | undefined; | ||
commisionType?: CommissionType; | ||
commissionRate?: number; | ||
minimumCommissionPerLot?: number; | ||
noSaleCommisionType?: NoSaleCommisionType; | ||
noSaleCommission?: number; | ||
consignors?: ConsignorContractDTO[] | undefined; | ||
staff?: StaffContractDTO[] | undefined; | ||
lots?: LotDTO[] | undefined; | ||
} | ||
export declare enum CommissionType { | ||
LotByLot = 0, | ||
Cumulative = 1, | ||
FlatRate = 2 | ||
} | ||
export declare enum NoSaleCommisionType { | ||
Percentage = 0, | ||
FlatRate = 1 | ||
} | ||
export declare class ConsignorContractDTO extends BaseModel implements IConsignorContractDTO { | ||
contractId?: string; | ||
contract?: ContractDTO | undefined; | ||
consignorId?: string; | ||
consignor?: ConsignorUserDTO | undefined; | ||
constructor(data?: IConsignorContractDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): ConsignorContractDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IConsignorContractDTO extends IBaseModel { | ||
contractId?: string; | ||
contract?: ContractDTO | undefined; | ||
consignorId?: string; | ||
consignor?: ConsignorUserDTO | undefined; | ||
} | ||
export declare class StaffContractDTO extends BaseModel implements IStaffContractDTO { | ||
contractId?: string; | ||
contract?: ContractDTO | undefined; | ||
staffId?: string; | ||
staff?: StaffUserDTO | undefined; | ||
split?: number; | ||
constructor(data?: IStaffContractDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): StaffContractDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IStaffContractDTO extends IBaseModel { | ||
contractId?: string; | ||
contract?: ContractDTO | undefined; | ||
staffId?: string; | ||
staff?: StaffUserDTO | undefined; | ||
split?: number; | ||
} | ||
export declare class MakeDTO implements IMakeDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
constructor(data?: IMakeDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): MakeDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IMakeDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
} | ||
export declare class ModelDTO implements IModelDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
makeId?: string | undefined; | ||
make?: MakeDTO | undefined; | ||
categoryId?: string | undefined; | ||
category?: CategoryDTO | undefined; | ||
constructor(data?: IModelDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): ModelDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IModelDTO { | ||
id?: string; | ||
name?: string | undefined; | ||
makeId?: string | undefined; | ||
make?: MakeDTO | undefined; | ||
categoryId?: string | undefined; | ||
category?: CategoryDTO | undefined; | ||
} | ||
export declare class EngineSpecificationDTO implements IEngineSpecificationDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
numberOfCylinders?: number | undefined; | ||
make?: string | undefined; | ||
model?: string | undefined; | ||
description?: string | undefined; | ||
grossPower?: number | undefined; | ||
grossPowerUnit?: string | undefined; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
constructor(data?: IEngineSpecificationDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): EngineSpecificationDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IEngineSpecificationDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
numberOfCylinders?: number | undefined; | ||
make?: string | undefined; | ||
model?: string | undefined; | ||
description?: string | undefined; | ||
grossPower?: number | undefined; | ||
grossPowerUnit?: string | undefined; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
} | ||
export declare class LandSpecificationDTO implements ILandSpecificationDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
soilValue?: number | undefined; | ||
soilValueUnit?: string | undefined; | ||
tillableAcres?: number | undefined; | ||
soilType?: string | undefined; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
constructor(data?: ILandSpecificationDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): LandSpecificationDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ILandSpecificationDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
soilValue?: number | undefined; | ||
soilValueUnit?: string | undefined; | ||
tillableAcres?: number | undefined; | ||
soilType?: string | undefined; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
} | ||
export declare class TransmissionSpecificationDTO implements ITransmissionSpecificationDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
model?: string | undefined; | ||
transmissionType?: string | undefined; | ||
numberOfForwardGears?: number | undefined; | ||
numberOfReverseGears?: number | undefined; | ||
maxSpeed?: number | undefined; | ||
maxSpeedUnit?: string | undefined; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
constructor(data?: ITransmissionSpecificationDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): TransmissionSpecificationDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ITransmissionSpecificationDTO { | ||
id?: string; | ||
isDeleted?: boolean; | ||
model?: string | undefined; | ||
transmissionType?: string | undefined; | ||
numberOfForwardGears?: number | undefined; | ||
numberOfReverseGears?: number | undefined; | ||
maxSpeed?: number | undefined; | ||
maxSpeedUnit?: string | undefined; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
} | ||
export declare class LotPhotoDTO implements ILotPhotoDTO { | ||
id?: string; | ||
steffesId?: number | undefined; | ||
lotId?: string; | ||
sortOrder?: number; | ||
fileName?: string | undefined; | ||
constructor(data?: ILotPhotoDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): LotPhotoDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ILotPhotoDTO { | ||
id?: string; | ||
steffesId?: number | undefined; | ||
lotId?: string; | ||
sortOrder?: number; | ||
fileName?: string | undefined; | ||
} | ||
export declare class LotBidIncrementDTO implements ILotBidIncrementDTO { | ||
id?: string; | ||
createdOn?: Date; | ||
updatedOn?: Date; | ||
start?: number; | ||
increment?: number; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
constructor(data?: ILotBidIncrementDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): LotBidIncrementDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ILotBidIncrementDTO { | ||
id?: string; | ||
createdOn?: Date; | ||
updatedOn?: Date; | ||
start?: number; | ||
increment?: number; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
} | ||
export declare class LotFileDTO implements ILotFileDTO { | ||
id?: string; | ||
updatedOn?: Date; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
fileName?: string | undefined; | ||
fileType?: FileType; | ||
constructor(data?: ILotFileDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): LotFileDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface ILotFileDTO { | ||
id?: string; | ||
updatedOn?: Date; | ||
lotId?: string; | ||
lot?: LotDTO | undefined; | ||
fileName?: string | undefined; | ||
fileType?: FileType; | ||
} | ||
export declare enum FileType { | ||
SellerContract = 0, | ||
BuyersProspectus = 1, | ||
AuctionFlyer = 2, | ||
Other = 3 | ||
} | ||
export declare class AuctionFileDTO implements IAuctionFileDTO { | ||
id?: string; | ||
updatedOn?: Date; | ||
auctionId?: string; | ||
auction?: AuctionDTO | undefined; | ||
fileName?: string | undefined; | ||
fileType?: FileType; | ||
constructor(data?: IAuctionFileDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): AuctionFileDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IAuctionFileDTO { | ||
id?: string; | ||
updatedOn?: Date; | ||
auctionId?: string; | ||
auction?: AuctionDTO | undefined; | ||
fileName?: string | undefined; | ||
fileType?: FileType; | ||
} | ||
export declare class UserOfficeDTO implements IUserOfficeDTO { | ||
@@ -504,2 +1202,3 @@ id?: string; | ||
staffUser?: UpdateStaffUserDTO | undefined; | ||
consignorUser?: UpdateConsignorUserDTO | undefined; | ||
constructor(data?: IUpdateUserAdminDTO); | ||
@@ -525,2 +1224,3 @@ init(_data?: any): void; | ||
staffUser?: UpdateStaffUserDTO | undefined; | ||
consignorUser?: UpdateConsignorUserDTO | undefined; | ||
} | ||
@@ -551,2 +1251,12 @@ export declare class UpdateStaffUserDTO implements IUpdateStaffUserDTO { | ||
} | ||
export declare class UpdateConsignorUserDTO implements IUpdateConsignorUserDTO { | ||
isDeleted?: boolean; | ||
constructor(data?: IUpdateConsignorUserDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): UpdateConsignorUserDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IUpdateConsignorUserDTO { | ||
isDeleted?: boolean; | ||
} | ||
export declare class VerifyPhoneDTO implements IVerifyPhoneDTO { | ||
@@ -636,2 +1346,93 @@ countryCode?: string | undefined; | ||
} | ||
export declare abstract class MetaPayloadPagination implements IMetaPayloadPagination { | ||
totalPages?: number; | ||
currentPage?: number; | ||
pageSize?: number; | ||
totalRows?: number; | ||
constructor(data?: IMetaPayloadPagination); | ||
init(_data?: any): void; | ||
static fromJS(data: any): MetaPayloadPagination; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IMetaPayloadPagination { | ||
totalPages?: number; | ||
currentPage?: number; | ||
pageSize?: number; | ||
totalRows?: number; | ||
} | ||
export declare class PaginatedResultOfUserDTO extends MetaPayloadPagination implements IPaginatedResultOfUserDTO { | ||
results?: UserDTO[] | undefined; | ||
constructor(data?: IPaginatedResultOfUserDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): PaginatedResultOfUserDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IPaginatedResultOfUserDTO extends IMetaPayloadPagination { | ||
results?: UserDTO[] | undefined; | ||
} | ||
export declare class UserSearchPagedDTO implements IUserSearchPagedDTO { | ||
pagination?: PaginationDTO | undefined; | ||
search?: string | undefined; | ||
userTypes?: UserType[] | undefined; | ||
constructor(data?: IUserSearchPagedDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): UserSearchPagedDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IUserSearchPagedDTO { | ||
pagination?: PaginationDTO | undefined; | ||
search?: string | undefined; | ||
userTypes?: UserType[] | undefined; | ||
} | ||
export declare class PaginationDTO implements IPaginationDTO { | ||
page?: number; | ||
pageSize?: number; | ||
constructor(data?: IPaginationDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): PaginationDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IPaginationDTO { | ||
page?: number; | ||
pageSize?: number; | ||
} | ||
export declare enum UserType { | ||
Bidder = 0, | ||
Consignor = 1, | ||
Staff = 2 | ||
} | ||
export declare class UserDTO2 implements IUserDTO2 { | ||
userId?: number; | ||
email?: string | undefined; | ||
firstName?: string | undefined; | ||
lastName?: string | undefined; | ||
phone?: string | undefined; | ||
mobile?: string | undefined; | ||
street?: string | undefined; | ||
street2?: string | undefined; | ||
city?: string | undefined; | ||
state?: string | undefined; | ||
zipCode?: string | undefined; | ||
country?: string | undefined; | ||
bidderNumber?: number | undefined; | ||
constructor(data?: IUserDTO2); | ||
init(_data?: any): void; | ||
static fromJS(data: any): UserDTO2; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IUserDTO2 { | ||
userId?: number; | ||
email?: string | undefined; | ||
firstName?: string | undefined; | ||
lastName?: string | undefined; | ||
phone?: string | undefined; | ||
mobile?: string | undefined; | ||
street?: string | undefined; | ||
street2?: string | undefined; | ||
city?: string | undefined; | ||
state?: string | undefined; | ||
zipCode?: string | undefined; | ||
country?: string | undefined; | ||
bidderNumber?: number | undefined; | ||
} | ||
export interface FileResponse { | ||
@@ -638,0 +1439,0 @@ data: Blob; |
{ | ||
"name": "@steffesgroup/steffes-auth", | ||
"version": "0.1.05", | ||
"version": "0.1.06", | ||
"description": "Steffes Auth", | ||
@@ -5,0 +5,0 @@ "main": "dist/api.js", |
Sorry, the diff of this file is too big to display
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
204717
5499