/** * Device provisioning API response interfaces. * * These are the data-shape types that live in brightchain-lib so both * frontend and backend can consume them. The Express-specific wrappers * (extending Response) live in brightchain-api-lib. * * Generic parameters: * TId – identifier type (string on frontend, GuidV4Buffer on backend) * * Requirements: 3.1-3.8 */ import { IApiEnvelope } from '../communication'; import { IDeviceMetadata } from '../identity/device'; export type IProvisionDeviceResponse = IApiEnvelope<{ device: IDeviceMetadata; publicKeyHex: string; derivationPath: string; }>; export type IListDevicesResponse = IApiEnvelope>>; export type IRevokeDeviceResponse = IApiEnvelope<{ revoked: boolean; revokedAt: string; }>; export type IRenameDeviceResponse = IApiEnvelope>; //# sourceMappingURL=deviceResponses.d.ts.map