@@ -150,12 +150,6 @@ export interface Account {
150
150
151
151
name : string ;
152
152
153
- /**
154
- * public_email_provider is true if the email for the Account matches a known
155
- * public email provider
156
- */
157
- publicEmailProvider : boolean ;
158
-
159
153
/**
160
154
* A Timestamp represents a point in time independent of any time zone or local
161
155
* calendar, encoded as a count of seconds and fractions of seconds at nanosecond
@@ -259,6 +253,12 @@ export interface Account {
259
253
* created through custom SSO
260
254
*/
261
255
organizationId ?: string | null ;
256
+
257
+ /**
258
+ * public_email_provider is true if the email for the Account matches a known
259
+ * public email provider
260
+ */
261
+ publicEmailProvider ?: boolean ;
262
262
}
263
263
264
264
export interface AccountMembership {
@@ -267,12 +267,6 @@ export interface AccountMembership {
267
267
*/
268
268
organizationId : string ;
269
269
270
- /**
271
- * organization_name is the member count of the organization the user is a member
272
- * of
273
- */
274
- organizationMemberCount : number ;
275
-
276
270
/**
277
271
* organization_name is the name of the organization the user is a member of
278
272
*/
@@ -287,6 +281,12 @@ export interface AccountMembership {
287
281
* user_role is the role the user has in the organization
288
282
*/
289
283
userRole : Shared . OrganizationRole ;
284
+
285
+ /**
286
+ * organization_name is the member count of the organization the user is a member
287
+ * of
288
+ */
289
+ organizationMemberCount ?: number ;
290
290
}
291
291
292
292
export interface JoinableOrganization {
@@ -295,29 +295,30 @@ export interface JoinableOrganization {
295
295
*/
296
296
organizationId : string ;
297
297
298
- /**
299
- * organization_member_count is the member count of the organization the user can
300
- * join
301
- */
302
- organizationMemberCount : number ;
303
-
304
298
/**
305
299
* organization_name is the name of the organization the user can join
306
300
*/
307
301
organizationName : string ;
308
- }
309
302
310
- export interface LoginProvider {
311
303
/**
312
- * login_url is the URL to redirect the browser agent to for login
304
+ * organization_member_count is the member count of the organization the user can
305
+ * join
313
306
*/
314
- loginUrl : string ;
307
+ organizationMemberCount ?: number ;
308
+ }
315
309
310
+ export interface LoginProvider {
316
311
/**
317
312
* provider is the provider used by this login method, e.g. "github", "google",
318
313
* "custom"
319
314
*/
320
315
provider : string ;
316
+
317
+ /**
318
+ * login_url is the URL to redirect the browser agent to for login, when provider
319
+ * is "custom"
320
+ */
321
+ loginUrl ?: string ;
321
322
}
322
323
323
324
export interface AccountRetrieveResponse {
0 commit comments