package api import ( "atlas9.dev/c/core" "atlas9.dev/c/core/iam" ) const ( Path_TenantInvitations_Create = "POST /TenantInvitations_Create" Path_TenantInvitations_Accept = "POST /TenantInvitations_Accept" Path_TenantInvitations_Decline = "POST /TenantInvitations_Decline" Path_TenantInvitations_List = "POST /TenantInvitations_List" Path_TenantInvitations_ListByEmail = "POST /TenantInvitations_ListByEmail" Path_TenantInvitations_Delete = "POST /TenantInvitations_Delete" Path_TenantInvitations_Task_SendTenantInvitation = "POST /TenantInvitations_Task_SendTenantInvitation" ) type TenantInvitations_CreateReq struct { Tenant core.ID Email string } type TenantInvitations_CreateRes struct { Token string } type TenantInvitations_AcceptReq struct { Token string } type TenantInvitations_AcceptRes struct{} type TenantInvitations_DeclineReq struct { Token string } type TenantInvitations_DeclineRes struct{} type TenantInvitations_ListReq struct { Tenant core.ID Page core.PageReq } type TenantInvitations_ListRes struct { Page core.Page[iam.TenantInvitation] } type TenantInvitations_ListByEmailReq struct { Email string Page core.PageReq } type TenantInvitations_ListByEmailRes struct { Page core.Page[iam.TenantInvitation] } type TenantInvitations_DeleteReq struct { Tenant core.ID Email string } type TenantInvitations_DeleteRes struct{} type TenantInvitations_Task_SendTenantInvitationReq struct { Email string Token string } type TenantInvitations_Task_SendTenantInvitationRes struct{} func (r *TenantInvitations_CreateReq) Prepare() error { return nil } func (r *TenantInvitations_AcceptReq) Prepare() error { return nil } func (r *TenantInvitations_DeclineReq) Prepare() error { return nil } func (r *TenantInvitations_ListReq) Prepare() error { return nil } func (r *TenantInvitations_ListByEmailReq) Prepare() error { return nil } func (r *TenantInvitations_DeleteReq) Prepare() error { return nil } func (r *TenantInvitations_Task_SendTenantInvitationReq) Prepare() error { return nil }