@bit-ui-libs/common
Version:
This library was generated with [Nx](https://nx.dev).
33 lines (29 loc) • 806 B
text/typescript
import { AssetStatus, CustomerAsset } from '../interfaces';
export interface GetAssetsRes {
assets: CustomerAsset[];
page: number;
totalPages: number;
}
export interface GetAssetsPagedRequest {
ownerId?: string;
typeId?: string;
orgId?: string;
appName?: string;
name?: string;
status?: AssetStatus;
eventIdRef?: string;
isMinted?: boolean;
isVerifiedByWitness?: boolean;
isVerifiedByOfficial?: boolean;
listingType?: string | 'mint' | 'auction';
$ids?: string[];
$orderBy?: string;
$order?: 'asc' | 'desc';
$page?: number;
$perPage?: number;
eventId?: string;
}
export type GetAssetGroupsRes = {
[assetGroupName: string]: CustomerAsset[];
}[];
export const chainServiceStatuses = ['INFO', 'PHOTO', 'OFFICIALS', 'QRCODE', 'RFID', 'WITNESS', 'MINTED'] as const;