Feat/support to invite multiple users (#1011)

This commit is contained in:
Matri 2023-08-31 01:18:31 +08:00 committed by GitHub
commit d3f8ea2df0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 222 additions and 70 deletions

View file

@ -182,3 +182,17 @@ export type DocumentsLimitResponse = {
documents_count: number
documents_limit: number
}
export type InvitationResult = {
status: 'success'
email: string
url: string
} | {
status: 'failed'
email: string
message: string
}
export type InvitationResponse = CommonResponse & {
invitation_results: InvitationResult[]
}