diff --git a/.stats.yml b/.stats.yml index b1eddf2..4f2abc7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 111 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-6860d955bb7b497681b9d1ae03c10c51a458c68f5011efc648ae9d049250d6c7.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-27f7bd641de1e4657ad8ce84a456fe0c5e8f1e14779bf1f567a4bc8667eba4da.yml diff --git a/src/resources/accounts.ts b/src/resources/accounts.ts index abd7aac..1b70feb 100644 --- a/src/resources/accounts.ts +++ b/src/resources/accounts.ts @@ -150,12 +150,6 @@ export interface Account { name: string; - /** - * public_email_provider is true if the email for the Account matches a known - * public email provider - */ - publicEmailProvider: boolean; - /** * A Timestamp represents a point in time independent of any time zone or local * calendar, encoded as a count of seconds and fractions of seconds at nanosecond @@ -259,6 +253,12 @@ export interface Account { * created through custom SSO */ organizationId?: string | null; + + /** + * public_email_provider is true if the email for the Account matches a known + * public email provider + */ + publicEmailProvider?: boolean; } export interface AccountMembership { @@ -267,12 +267,6 @@ export interface AccountMembership { */ organizationId: string; - /** - * organization_name is the member count of the organization the user is a member - * of - */ - organizationMemberCount: number; - /** * organization_name is the name of the organization the user is a member of */ @@ -287,6 +281,12 @@ export interface AccountMembership { * user_role is the role the user has in the organization */ userRole: Shared.OrganizationRole; + + /** + * organization_name is the member count of the organization the user is a member + * of + */ + organizationMemberCount?: number; } export interface JoinableOrganization { @@ -295,29 +295,30 @@ export interface JoinableOrganization { */ organizationId: string; - /** - * organization_member_count is the member count of the organization the user can - * join - */ - organizationMemberCount: number; - /** * organization_name is the name of the organization the user can join */ organizationName: string; -} -export interface LoginProvider { /** - * login_url is the URL to redirect the browser agent to for login + * organization_member_count is the member count of the organization the user can + * join */ - loginUrl: string; + organizationMemberCount?: number; +} +export interface LoginProvider { /** * provider is the provider used by this login method, e.g. "github", "google", * "custom" */ provider: string; + + /** + * login_url is the URL to redirect the browser agent to for login, when provider + * is "custom" + */ + loginUrl?: string; } export interface AccountRetrieveResponse { diff --git a/src/resources/editors.ts b/src/resources/editors.ts index 58913f3..ac5e5de 100644 --- a/src/resources/editors.ts +++ b/src/resources/editors.ts @@ -39,17 +39,17 @@ export type EditorsEditorsPage = EditorsPage; export interface Editor { id: string; - alias: string; - - iconUrl: string; - installationInstructions: string; name: string; - shortDescription: string; - urlTemplate: string; + + alias?: string; + + iconUrl?: string; + + shortDescription?: string; } export interface EditorRetrieveResponse { diff --git a/src/resources/organizations/domain-verifications.ts b/src/resources/organizations/domain-verifications.ts index 0f242e7..08c5798 100644 --- a/src/resources/organizations/domain-verifications.ts +++ b/src/resources/organizations/domain-verifications.ts @@ -160,7 +160,7 @@ export interface DomainVerification { * [`ISODateTimeFormat.dateTime()`]() * to obtain a formatter capable of generating timestamps in this format. */ - verifiedAt: string; + verifiedAt?: string; } export type DomainVerificationState = diff --git a/src/resources/organizations/sso-configurations.ts b/src/resources/organizations/sso-configurations.ts index 9705cf5..588e09c 100644 --- a/src/resources/organizations/sso-configurations.ts +++ b/src/resources/organizations/sso-configurations.ts @@ -66,13 +66,6 @@ export interface SSOConfiguration { */ id: string; - /** - * client_id is the client ID of the OIDC application set on the IdP - */ - clientId: string; - - emailDomain: string; - /** * issuer_url is the URL of the IdP issuer */ @@ -94,6 +87,13 @@ export interface SSOConfiguration { * claims are key/value pairs that defines a mapping of claims issued by the IdP. */ claims?: Record; + + /** + * client_id is the client ID of the OIDC application set on the IdP + */ + clientId?: string; + + emailDomain?: string; } export type SSOConfigurationState = diff --git a/src/resources/secrets.ts b/src/resources/secrets.ts index 830b1f9..38d9729 100644 --- a/src/resources/secrets.ts +++ b/src/resources/secrets.ts @@ -286,11 +286,7 @@ export type SecretUpdateValueResponse = unknown; export interface SecretCreateParams { /** * secret will be mounted as a docker config in the environment VM, mount will have - * the docker host value must be a valid registry hostname with optional port: - * - * ``` - * this.matches('^[a-zA-Z0-9][a-zA-Z0-9.-]*[a-zA-Z0-9](:[0-9]+)?$') - * ``` + * the docker registry host */ containerRegistryBasicAuthHost?: string;