@@ -84,8 +84,9 @@ type OrganizationDOHUpdateResponse struct {
84
84
// The duration for how long the service token will be valid. Must be in the format
85
85
// `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h. The
86
86
// default is 1 year in hours (8760h).
87
- Duration string `json:"duration"`
88
- ExpiresAt time.Time `json:"expires_at" format:"date-time"`
87
+ Duration string `json:"duration"`
88
+ ExpiresAt time.Time `json:"expires_at" format:"date-time"`
89
+ LastSeenAt time.Time `json:"last_seen_at" format:"date-time"`
89
90
// The name of the service token.
90
91
Name string `json:"name"`
91
92
UpdatedAt time.Time `json:"updated_at" format:"date-time"`
@@ -101,6 +102,7 @@ type organizationDOHUpdateResponseJSON struct {
101
102
DOHJWTDuration apijson.Field
102
103
Duration apijson.Field
103
104
ExpiresAt apijson.Field
105
+ LastSeenAt apijson.Field
104
106
Name apijson.Field
105
107
UpdatedAt apijson.Field
106
108
raw string
@@ -129,8 +131,9 @@ type OrganizationDOHGetResponse struct {
129
131
// The duration for how long the service token will be valid. Must be in the format
130
132
// `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h. The
131
133
// default is 1 year in hours (8760h).
132
- Duration string `json:"duration"`
133
- ExpiresAt time.Time `json:"expires_at" format:"date-time"`
134
+ Duration string `json:"duration"`
135
+ ExpiresAt time.Time `json:"expires_at" format:"date-time"`
136
+ LastSeenAt time.Time `json:"last_seen_at" format:"date-time"`
134
137
// The name of the service token.
135
138
Name string `json:"name"`
136
139
UpdatedAt time.Time `json:"updated_at" format:"date-time"`
@@ -146,6 +149,7 @@ type organizationDOHGetResponseJSON struct {
146
149
DOHJWTDuration apijson.Field
147
150
Duration apijson.Field
148
151
ExpiresAt apijson.Field
152
+ LastSeenAt apijson.Field
149
153
Name apijson.Field
150
154
UpdatedAt apijson.Field
151
155
raw string
0 commit comments