-
Notifications
You must be signed in to change notification settings - Fork 20
/
organization_domain.go
29 lines (26 loc) · 1.28 KB
/
organization_domain.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package clerk
type OrganizationDomainVerification struct {
Status string `json:"status"`
Strategy string `json:"strategy"`
Attempts int64 `json:"attempts"`
ExpireAt *int64 `json:"expire_at"`
}
type OrganizationDomain struct {
APIResource
Object string `json:"object"`
ID string `json:"id"`
OrganizationID string `json:"organization_id"`
Name string `json:"name"`
EnrollmentMode string `json:"enrollment_mode"`
AffiliationEmailAddress *string `json:"affiliation_email_address"`
Verification *OrganizationDomainVerification `json:"verification"`
TotalPendingInvitations int64 `json:"total_pending_invitations"`
TotalPendingSuggestions int64 `json:"total_pending_suggestions"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
}
type OrganizationDomainList struct {
APIResource
OrganizationDomains []*OrganizationDomain `json:"data"`
TotalCount int64 `json:"total_count"`
}