diff --git a/src/shared/requests/v1/loginRequest.ts b/src/shared/requests/v1/loginRequest.ts new file mode 100644 index 0000000..7f019ac --- /dev/null +++ b/src/shared/requests/v1/loginRequest.ts @@ -0,0 +1,25 @@ +/** + * MIREA Schedule Web API + * This API provides a convenient interface for retrieving data stored in the database. Special attention was paid to the lightweight and easy transfer of all necessary data. Made by the Winsomnia team. + * + * OpenAPI spec version: 1.0 + * Contact: support@winsomnia.net + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +/** + * + */ +export interface LoginRequest { + /** + * + */ + username: string; + /** + * + */ + password: number; +} diff --git a/src/shared/responses/v1/tokenResponse.ts b/src/shared/responses/v1/tokenResponse.ts new file mode 100644 index 0000000..f683d5f --- /dev/null +++ b/src/shared/responses/v1/tokenResponse.ts @@ -0,0 +1,25 @@ +/** + * MIREA Schedule Web API + * This API provides a convenient interface for retrieving data stored in the database. Special attention was paid to the lightweight and easy transfer of all necessary data. Made by the Winsomnia team. + * + * OpenAPI spec version: 1.0 + * Contact: support@winsomnia.net + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +/** + * + */ +export interface TokenResponse { + /** + * + */ + accessToken : string; + /** + * + */ + expiresIn: Date; +}