@turndown/library 0.0.53 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/auth/index.d.ts +48 -0
- package/package.json +1 -1
|
@@ -171,3 +171,51 @@ export interface RateLimitStatus {
|
|
|
171
171
|
maxAttempts: number;
|
|
172
172
|
resetTime?: string;
|
|
173
173
|
}
|
|
174
|
+
export interface SignupWithInvitationRequest {
|
|
175
|
+
token: string;
|
|
176
|
+
password: string;
|
|
177
|
+
firstName: string;
|
|
178
|
+
lastName?: string;
|
|
179
|
+
deviceInfo?: DeviceInfo;
|
|
180
|
+
}
|
|
181
|
+
export interface InvitationValidationResponse {
|
|
182
|
+
id: string;
|
|
183
|
+
companyId: string;
|
|
184
|
+
companyName: string;
|
|
185
|
+
email: string;
|
|
186
|
+
role: string;
|
|
187
|
+
invitedBy: string;
|
|
188
|
+
invitedByName: string;
|
|
189
|
+
expiresAt: string;
|
|
190
|
+
userExists: boolean;
|
|
191
|
+
}
|
|
192
|
+
export interface AcceptInvitationRequest {
|
|
193
|
+
userId: string;
|
|
194
|
+
token: string;
|
|
195
|
+
}
|
|
196
|
+
export interface AcceptInvitationResponse {
|
|
197
|
+
companyId: string;
|
|
198
|
+
companyName: string;
|
|
199
|
+
role: string;
|
|
200
|
+
}
|
|
201
|
+
export interface GetPendingInvitationsResponse {
|
|
202
|
+
id: string;
|
|
203
|
+
token: string;
|
|
204
|
+
companyId: string;
|
|
205
|
+
companyName: string;
|
|
206
|
+
role: string;
|
|
207
|
+
invitedBy: string;
|
|
208
|
+
invitedByName: string;
|
|
209
|
+
expiresAt: string;
|
|
210
|
+
createdAt: string;
|
|
211
|
+
}
|
|
212
|
+
export interface RevokeInvitationRequest {
|
|
213
|
+
invitationId: string;
|
|
214
|
+
revokedBy: string;
|
|
215
|
+
}
|
|
216
|
+
export interface GetActiveSessionsResponse {
|
|
217
|
+
id: string;
|
|
218
|
+
deviceInfo: string;
|
|
219
|
+
createdAt: string;
|
|
220
|
+
lastUsedAt: string;
|
|
221
|
+
}
|