@@ -346,11 +346,6 @@ export type LogEntryWithHubPagedResult = {
346346 readonly totalPages ?: number ;
347347} ;
348348
349- export type Login = {
350- password : string ;
351- email : string ;
352- } ;
353-
354349export type LoginSessionResponse = {
355350 id : string ;
356351 ip : string ;
@@ -560,10 +555,6 @@ export type ReportTokensRequest = {
560555 secrets : Array < string > ;
561556} ;
562557
563- export type ResetRequest = {
564- email : string ;
565- } ;
566-
567558export const RoleType = {
568559 Support : 'Support' ,
569560 Staff : 'Staff' ,
@@ -665,12 +656,6 @@ export type ShockerWithDeviceLegacyDataResponse = {
665656 data : ShockerWithDevice ;
666657} ;
667658
668- export type SignUp = {
669- username : string ;
670- password : string ;
671- email : string ;
672- } ;
673-
674659export const SortDirection = { Asc : 'Asc' , Desc : 'Desc' } as const ;
675660
676661export type SortDirection = typeof SortDirection [ keyof typeof SortDirection ] ;
@@ -968,35 +953,6 @@ export type AccountCheckUsernameResponses = {
968953
969954export type AccountCheckUsernameResponse = AccountCheckUsernameResponses [ keyof AccountCheckUsernameResponses ] ;
970955
971- export type AccountLoginData = {
972- body ?: Login ;
973- path ?: never ;
974- query ?: never ;
975- url : '/1/account/login' ;
976- } ;
977-
978- export type AccountLoginErrors = {
979- /**
980- * Invalid username or password
981- */
982- 401 : OpenShockProblem ;
983- /**
984- * Forbidden
985- */
986- 403 : OpenShockProblem ;
987- } ;
988-
989- export type AccountLoginError = AccountLoginErrors [ keyof AccountLoginErrors ] ;
990-
991- export type AccountLoginResponses = {
992- /**
993- * User successfully logged in
994- */
995- 200 : LegacyEmptyResponse ;
996- } ;
997-
998- export type AccountLoginResponse = AccountLoginResponses [ keyof AccountLoginResponses ] ;
999-
1000956export type AccountLogoutData = {
1001957 body ?: never ;
1002958 path ?: never ;
@@ -1045,74 +1001,6 @@ export type AccountPasswordResetCheckValidResponses = {
10451001
10461002export type AccountPasswordResetCheckValidResponse = AccountPasswordResetCheckValidResponses [ keyof AccountPasswordResetCheckValidResponses ] ;
10471003
1048- export type AccountPasswordResetCheckValidLegacyData = {
1049- body ?: never ;
1050- path : {
1051- /**
1052- * The id of the password reset
1053- */
1054- passwordResetId : string ;
1055- /**
1056- * The secret of the password reset
1057- */
1058- secret : string ;
1059- } ;
1060- query ?: never ;
1061- url : '/1/account/recover/{passwordResetId}/{secret}' ;
1062- } ;
1063-
1064- export type AccountPasswordResetCheckValidLegacyErrors = {
1065- /**
1066- * Password reset process not found
1067- */
1068- 404 : OpenShockProblem ;
1069- } ;
1070-
1071- export type AccountPasswordResetCheckValidLegacyError = AccountPasswordResetCheckValidLegacyErrors [ keyof AccountPasswordResetCheckValidLegacyErrors ] ;
1072-
1073- export type AccountPasswordResetCheckValidLegacyResponses = {
1074- /**
1075- * Valid password reset process
1076- */
1077- 200 : LegacyEmptyResponse ;
1078- } ;
1079-
1080- export type AccountPasswordResetCheckValidLegacyResponse = AccountPasswordResetCheckValidLegacyResponses [ keyof AccountPasswordResetCheckValidLegacyResponses ] ;
1081-
1082- export type AccountPasswordResetCompleteLegacyData = {
1083- body ?: PasswordResetProcessData ;
1084- path : {
1085- /**
1086- * The id of the password reset
1087- */
1088- passwordResetId : string ;
1089- /**
1090- * The secret of the password reset
1091- */
1092- secret : string ;
1093- } ;
1094- query ?: never ;
1095- url : '/1/account/recover/{passwordResetId}/{secret}' ;
1096- } ;
1097-
1098- export type AccountPasswordResetCompleteLegacyErrors = {
1099- /**
1100- * Password reset process not found
1101- */
1102- 404 : OpenShockProblem ;
1103- } ;
1104-
1105- export type AccountPasswordResetCompleteLegacyError = AccountPasswordResetCompleteLegacyErrors [ keyof AccountPasswordResetCompleteLegacyErrors ] ;
1106-
1107- export type AccountPasswordResetCompleteLegacyResponses = {
1108- /**
1109- * Password successfully changed
1110- */
1111- 200 : LegacyEmptyResponse ;
1112- } ;
1113-
1114- export type AccountPasswordResetCompleteLegacyResponse = AccountPasswordResetCompleteLegacyResponses [ keyof AccountPasswordResetCompleteLegacyResponses ] ;
1115-
11161004export type AccountPasswordResetCompleteData = {
11171005 body ?: PasswordResetProcessData ;
11181006 path : {
@@ -1147,51 +1035,6 @@ export type AccountPasswordResetCompleteResponses = {
11471035
11481036export type AccountPasswordResetCompleteResponse = AccountPasswordResetCompleteResponses [ keyof AccountPasswordResetCompleteResponses ] ;
11491037
1150- export type AccountPasswordResetInitiateData = {
1151- body ?: ResetRequest ;
1152- path ?: never ;
1153- query ?: never ;
1154- url : '/1/account/reset' ;
1155- } ;
1156-
1157- export type AccountPasswordResetInitiateResponses = {
1158- /**
1159- * Password reset email sent if the email is associated to an registered account
1160- */
1161- 200 : LegacyEmptyResponse ;
1162- } ;
1163-
1164- export type AccountPasswordResetInitiateResponse = AccountPasswordResetInitiateResponses [ keyof AccountPasswordResetInitiateResponses ] ;
1165-
1166- export type AccountSignUpData = {
1167- body ?: SignUp ;
1168- path ?: never ;
1169- query ?: never ;
1170- url : '/1/account/signup' ;
1171- } ;
1172-
1173- export type AccountSignUpErrors = {
1174- /**
1175- * Account registration is disabled on this instance
1176- */
1177- 403 : OpenShockProblem ;
1178- /**
1179- * Username or email already exists
1180- */
1181- 409 : OpenShockProblem ;
1182- } ;
1183-
1184- export type AccountSignUpError = AccountSignUpErrors [ keyof AccountSignUpErrors ] ;
1185-
1186- export type AccountSignUpResponses = {
1187- /**
1188- * User successfully signed up
1189- */
1190- 200 : LegacyEmptyResponse ;
1191- } ;
1192-
1193- export type AccountSignUpResponse = AccountSignUpResponses [ keyof AccountSignUpResponses ] ;
1194-
11951038export type AccountEmailVerifyData = {
11961039 body ?: never ;
11971040 path ?: never ;
0 commit comments