import type { Identity } from './node.ts' export type Application = { shortName: string name: string imageUri: string template: 'builder' | 'master' tenantId: string created: string updated: string hasPermission: boolean emailOwner: string } export type TenantSubscription = { ownerIdentity: Identity id: string subscriber: Identity planId: string startDate: string lastChangeDate: string isPending: boolean isActive: boolean extras: { WalletId: string } } export type TenantUserInfo = { tenantId: string userIdentity: Identity fullName: string creationDate: string updateDate: string userStatus: string roleId: 'member' | 'admin' | 'guest' } export type TenantAgentInfo = TenantUserInfo & { isEnabled: boolean defaultContract: boolean } export type ApplicationUserInfo = { userIdentity: Identity; creationDate: string }