|
|
@ -13,20 +13,24 @@ |
|
|
|
* Model for API Token |
|
|
|
* Model for API Token |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
export interface ApiTokenType { |
|
|
|
export interface ApiTokenType { |
|
|
|
created_at?: any; |
|
|
|
/** Unique API Token ID */ |
|
|
|
description?: string; |
|
|
|
|
|
|
|
fk_user_id?: string; |
|
|
|
|
|
|
|
/** Unique ID */ |
|
|
|
|
|
|
|
id?: IdType; |
|
|
|
id?: IdType; |
|
|
|
|
|
|
|
/** Foreign Key to User */ |
|
|
|
|
|
|
|
fk_user_id?: IdType; |
|
|
|
|
|
|
|
/** API Token Description */ |
|
|
|
|
|
|
|
description?: string; |
|
|
|
|
|
|
|
/** API Token */ |
|
|
|
token?: string; |
|
|
|
token?: string; |
|
|
|
updated_at?: any; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Model for API Token Request |
|
|
|
* Model for API Token Request |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
export interface ApiTokenReqType { |
|
|
|
export interface ApiTokenReqType { |
|
|
|
/** Description of the API token */ |
|
|
|
/** |
|
|
|
|
|
|
|
* Description of the API token |
|
|
|
|
|
|
|
* @example This API Token is for ABC application |
|
|
|
|
|
|
|
*/ |
|
|
|
description?: string; |
|
|
|
description?: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|