@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
38 lines (37 loc) • 763 B
TypeScript
/**
* Instance of an API key.
*/
export interface ApiKey {
/**
* The ID of the API key.
*/
id: string;
/**
* The user supplied name of the API key.
*/
name: string;
/**
* A random string that is used to authenticate the API key.
*/
key: string;
/**
* A random string that is used to authenticate the API key.
*/
secret: string;
/**
* The ID of the organization the API key belongs to.
*/
organizationId: string;
/**
* Whether this API key belongs to a scanner.
*/
isScanner?: boolean;
/**
* Whether the API key has been deleted.
*/
isDeleted?: boolean;
/**
* The date the API key was created.
*/
createdDate: Date;
}