@@ -6060,60 +6060,26 @@ type TeamPayload struct {
6060
6060
Team * Team `json:"team"`
6061
6061
Changes struct {
6062
6062
Description struct {
6063
- Type string `json:"type"`
6064
- From struct {
6065
- Description string `json:"description"`
6066
- Type string `json:"type"`
6067
- } `json:"from"`
6068
- Required []string `json:"required"`
6069
- } `json:"description"`
6063
+ From string `json:"from"`
6064
+ } `json:"description,omitempty"`
6070
6065
Name struct {
6071
- Type string `json:"type"`
6072
- From struct {
6073
- Description string `json:"description"`
6074
- Type string `json:"type"`
6075
- } `json:"from"`
6076
- Required []string `json:"required"`
6077
- } `json:"name"`
6066
+ From string `json:"from"`
6067
+ } `json:"name,omitempty"`
6078
6068
Privacy struct {
6079
- Type string `json:"type"`
6080
- From struct {
6081
- Description string `json:"description"`
6082
- Type string `json:"type"`
6083
- } `json:"from"`
6084
- Required []string `json:"required"`
6085
- } `json:"privacy"`
6069
+ From string `json:"from"`
6070
+ } `json:"privacy,omitempty"`
6086
6071
NotificationSetting struct {
6087
- Type string `json:"type"`
6088
- From struct {
6089
- Description string `json:"description"`
6090
- Type string `json:"type"`
6091
- } `json:"from"`
6092
- Required []string `json:"required"`
6093
- } `json:"notification_setting"`
6072
+ From string `json:"from"`
6073
+ } `json:"notification_setting,omitempty"`
6094
6074
Repository struct {
6095
- Type string `json:"type"`
6096
6075
Permissions struct {
6097
- Type string `json:"type"`
6098
6076
From struct {
6099
- Type string `json:"type"`
6100
- Admin struct {
6101
- Description string `json:"description"`
6102
- Type string `json:"type"`
6103
- } `json:"admin"`
6104
- Pull struct {
6105
- Description string `json:"description"`
6106
- Type string `json:"type"`
6107
- } `json:"pull"`
6108
- Push struct {
6109
- Description string `json:"description"`
6110
- Type string `json:"type"`
6111
- } `json:"push"`
6077
+ Admin bool `json:"admin"`
6078
+ Pull bool `json:"pull"`
6079
+ Push bool `json:"push"`
6112
6080
} `json:"from"`
6113
- Required []string `json:"required"`
6114
6081
} `json:"permissions"`
6115
- Required []string `json:"required"`
6116
- } `json:"repository"`
6082
+ } `json:"repository,omitempty"`
6117
6083
} `json:"changes"`
6118
6084
Organization struct {
6119
6085
Login string `json:"login"`
0 commit comments