chore: import clean Agent Desk snapshot (2/7)
This commit is contained in:
20
internal/pkg/dto/request/webhook_request.go
Normal file
20
internal/pkg/dto/request/webhook_request.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package request
|
||||
|
||||
type OrgSyncEventData struct {
|
||||
OrgID string `json:"org_id"`
|
||||
OrgName string `json:"org_name"`
|
||||
UserID string `json:"user_id"`
|
||||
UserEmail string `json:"user_email"`
|
||||
UserName string `json:"user_name"`
|
||||
Role string `json:"role"`
|
||||
Plan string `json:"plan"`
|
||||
}
|
||||
|
||||
type OrgSyncWebhookRequest struct {
|
||||
Event string `json:"event"`
|
||||
Timestamp string `json:"timestamp"`
|
||||
Data OrgSyncEventData `json:"data"`
|
||||
}
|
||||
|
||||
type DOSOrgSyncEventData = OrgSyncEventData
|
||||
type DOSOrgSyncWebhookRequest = OrgSyncWebhookRequest
|
||||
Reference in New Issue
Block a user