@@ -150,12 +150,6 @@ export interface Account {
150150
151151 name : string ;
152152
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-
159153 /**
160154 * A Timestamp represents a point in time independent of any time zone or local
161155 * calendar, encoded as a count of seconds and fractions of seconds at nanosecond
@@ -259,6 +253,12 @@ export interface Account {
259253 * created through custom SSO
260254 */
261255 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 ;
262262}
263263
264264export interface AccountMembership {
@@ -267,12 +267,6 @@ export interface AccountMembership {
267267 */
268268 organizationId : string ;
269269
270- /**
271- * organization_name is the member count of the organization the user is a member
272- * of
273- */
274- organizationMemberCount : number ;
275-
276270 /**
277271 * organization_name is the name of the organization the user is a member of
278272 */
@@ -287,6 +281,12 @@ export interface AccountMembership {
287281 * user_role is the role the user has in the organization
288282 */
289283 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 ;
290290}
291291
292292export interface JoinableOrganization {
@@ -295,29 +295,30 @@ export interface JoinableOrganization {
295295 */
296296 organizationId : string ;
297297
298- /**
299- * organization_member_count is the member count of the organization the user can
300- * join
301- */
302- organizationMemberCount : number ;
303-
304298 /**
305299 * organization_name is the name of the organization the user can join
306300 */
307301 organizationName : string ;
308- }
309302
310- export interface LoginProvider {
311303 /**
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
313306 */
314- loginUrl : string ;
307+ organizationMemberCount ?: number ;
308+ }
315309
310+ export interface LoginProvider {
316311 /**
317312 * provider is the provider used by this login method, e.g. "github", "google",
318313 * "custom"
319314 */
320315 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 ;
321322}
322323
323324export interface AccountRetrieveResponse {
0 commit comments