Documentation ¶
Index ¶
- type ActivateBillingSubscription
- type ActivateTenant
- type AddNewComment
- type AddNewNotification
- type AddNewPost
- type AddNewTag
- type AddSubscriber
- type AddVote
- type AssignTag
- type BlockUser
- type CancelBillingSubscription
- type ChangeUserEmail
- type ChangeUserRole
- type CreateTenant
- type DeleteBlob
- type DeleteComment
- type DeleteCurrentUser
- type DeleteTag
- type GenerateCheckoutLink
- type GetWebhookProps
- type HTTPRequest
- type LockExpiredTenants
- type LogDebug
- type LogError
- type LogInfo
- type LogWarn
- type MarkAllNotificationsAsRead
- type MarkNotificationAsRead
- type MarkPostAsDuplicate
- type NewEmailVerification
- type ParseOAuthRawProfile
- type PreviewWebhook
- type PurgeExpiredNotifications
- type RegenerateAPIKey
- type RegisterUser
- type RegisterUserProvider
- type RemoveSubscriber
- type RemoveVote
- type SaveCustomOAuthConfig
- type SaveVerificationKey
- type SendMail
- type SetAttachments
- type SetKeyAsVerified
- type SetPostResponse
- type SetSystemSettings
- type StoreBlob
- type StoreEvent
- type SupressEmail
- type TestWebhook
- type ToggleCommentReaction
- type TriggerWebhooks
- type UnassignTag
- type UnblockUser
- type UpdateComment
- type UpdateCurrentUser
- type UpdateCurrentUserSettings
- type UpdatePost
- type UpdateTag
- type UpdateTenantAdvancedSettings
- type UpdateTenantEmailAuthAllowedSettings
- type UpdateTenantPrivacySettings
- type UpdateTenantSettings
- type UploadImage
- type UploadImages
- type UserListCreateCompany
- type UserListHandleRoleChange
- type UserListUpdateCompany
- type UserListUpdateUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateBillingSubscription ¶ added in v0.20.0
type ActivateTenant ¶
type ActivateTenant struct {
TenantID int
}
type AddNewComment ¶
type AddNewNotification ¶
type CancelBillingSubscription ¶ added in v0.20.0
type ChangeUserEmail ¶
type ChangeUserRole ¶
type CreateTenant ¶
type DeleteBlob ¶
type DeleteBlob struct {
Key string
}
type DeleteComment ¶
type DeleteComment struct {
CommentID int
}
type DeleteCurrentUser ¶
type DeleteCurrentUser struct { }
type GenerateCheckoutLink ¶ added in v0.20.0
type GenerateCheckoutLink struct { PlanID string Passthrough dto.PaddlePassthrough // Output URL string }
type GetWebhookProps ¶ added in v0.20.0
type GetWebhookProps struct { Type enum.WebhookType Result webhook.Props }
type HTTPRequest ¶
type LockExpiredTenants ¶ added in v0.20.0
type MarkAllNotificationsAsRead ¶
type MarkAllNotificationsAsRead struct{}
type MarkNotificationAsRead ¶
type MarkNotificationAsRead struct {
ID int
}
type MarkPostAsDuplicate ¶
type NewEmailVerification ¶ added in v0.19.0
type NewEmailVerification interface { GetEmail() string GetName() string GetUser() *entity.User GetKind() enum.EmailVerificationKind }
NewEmailVerification is used to define an email verification process
type ParseOAuthRawProfile ¶
type ParseOAuthRawProfile struct { Provider string Body string Result *dto.OAuthUserProfile }
type PreviewWebhook ¶ added in v0.20.0
type PreviewWebhook struct { Type enum.WebhookType Url string Content string Result *dto.WebhookPreviewResult }
type PurgeExpiredNotifications ¶
type PurgeExpiredNotifications struct {
NumOfDeletedNotifications int
}
type RegenerateAPIKey ¶
type RegenerateAPIKey struct {
Result string
}
type RegisterUser ¶
type RegisterUserProvider ¶
type SaveCustomOAuthConfig ¶
type SaveCustomOAuthConfig struct { ID int Logo *dto.ImageUpload Provider string Status int DisplayName string ClientID string ClientSecret string AuthorizeURL string TokenURL string Scope string ProfileURL string IsTrusted bool JSONUserIDPath string JSONUserNamePath string JSONUserEmailPath string }
type SaveVerificationKey ¶
type SaveVerificationKey struct { Key string Duration time.Duration Request NewEmailVerification }
type SetAttachments ¶
type SetKeyAsVerified ¶
type SetKeyAsVerified struct {
Key string
}
type SetPostResponse ¶
type SetPostResponse struct { Post *entity.Post Text string Status enum.PostStatus }
type SetSystemSettings ¶ added in v0.20.0
type StoreEvent ¶
type SupressEmail ¶ added in v0.20.0
type TestWebhook ¶ added in v0.20.0
type TestWebhook struct { ID int Result *dto.WebhookTriggerResult }
type ToggleCommentReaction ¶ added in v0.23.0
type TriggerWebhooks ¶ added in v0.20.0
type TriggerWebhooks struct { Type enum.WebhookType Props webhook.Props }
type UnblockUser ¶
type UnblockUser struct {
UserID int
}
type UpdateComment ¶
type UpdateCurrentUser ¶
type UpdateCurrentUser struct { Name string AvatarType enum.AvatarType Avatar *dto.ImageUpload }
type UpdatePost ¶
type UpdateTenantAdvancedSettings ¶
type UpdateTenantAdvancedSettings struct {
CustomCSS string
}
type UpdateTenantEmailAuthAllowedSettings ¶ added in v0.19.0
type UpdateTenantEmailAuthAllowedSettings struct {
IsEmailAuthAllowed bool
}
type UpdateTenantPrivacySettings ¶
type UpdateTenantPrivacySettings struct {
IsPrivate bool
}
type UpdateTenantSettings ¶
type UploadImage ¶
type UploadImage struct { Image *dto.ImageUpload Folder string }
type UploadImages ¶
type UploadImages struct { Images []*dto.ImageUpload Folder string }
type UserListCreateCompany ¶ added in v0.23.0
type UserListHandleRoleChange ¶ added in v0.23.0
type UserListUpdateCompany ¶ added in v0.23.0
type UserListUpdateCompany struct { TenantId int Name string BillingStatus enum.BillingStatus }
Click to show internal directories.
Click to hide internal directories.