优化
This commit is contained in:
@@ -141,6 +141,12 @@ export interface EnterpriseApprovalResponse {
|
||||
temporaryPassword: string | null
|
||||
}
|
||||
|
||||
export interface PlatformTenantCreationResponse {
|
||||
tenant: PlatformTenantResource
|
||||
administratorUsername: string
|
||||
temporaryPassword: string
|
||||
}
|
||||
|
||||
export interface ResetPlatformTenantOwnerPasswordRequest {
|
||||
newPassword: string
|
||||
forceChangePassword: boolean
|
||||
@@ -350,7 +356,7 @@ export async function checkPlatformTenantContactPhone(contactPhone: string, excl
|
||||
}
|
||||
|
||||
export function createPlatformTenant(payload: CreatePlatformTenantRequest) {
|
||||
return postData<PlatformTenantResource>('/platform/v1/iam/tenants', payload)
|
||||
return postData<PlatformTenantCreationResponse>('/platform/v1/iam/tenants', payload)
|
||||
}
|
||||
|
||||
export function updatePlatformTenant(tenantId: number | string, payload: UpdatePlatformTenantRequest) {
|
||||
|
||||
Reference in New Issue
Block a user