Skip to content

Commit

Permalink
chore: build SDK from openapi.yaml changes
Browse files Browse the repository at this point in the history
  • Loading branch information
team-devx-bot committed Feb 20, 2024
1 parent 106c744 commit 691f3ba
Showing 1 changed file with 88 additions and 4 deletions.
92 changes: 88 additions & 4 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ export interface ApplicationUpdateResponse {
'redirect_uri'?: string | null;
/**
*
* @type {AuthStrategy}
* @type {PortalAuthStrategy}
* @memberof ApplicationUpdateResponse
*/
'auth_strategy'?: AuthStrategy;
'auth_strategy'?: PortalAuthStrategy;
/**
* An ISO-8601 timestamp representation of entity creation date.
* @type {string}
Expand Down Expand Up @@ -792,8 +792,9 @@ export type DocumentContentTypeEnum = typeof DocumentContentTypeEnum[keyof typeo
*/

export const DocumentFormatContentTypeEnum = {
Json: 'application/json',
VndKonnectDocumentNodesjson: 'application/vnd.konnect.document-nodes+json'
TextMarkdown: 'text/markdown',
ApplicationJson: 'application/json',
ApplicationVndKonnectDocumentNodesjson: 'application/vnd.konnect.document-nodes+json'
} as const;

export type DocumentFormatContentTypeEnum = typeof DocumentFormatContentTypeEnum[keyof typeof DocumentFormatContentTypeEnum];
Expand Down Expand Up @@ -1868,6 +1869,89 @@ export interface PortalAppearanceVariablesCatalogPrimaryHeader {
*/
'text'?: string;
}
/**
* @type PortalAuthStrategy
* @export
*/
export type PortalAuthStrategy = PortalAuthStrategyClientCredentials | PortalAuthStrategyKeyAuth;

/**
* Client Credential Auth strategy that the application uses.
* @export
* @interface PortalAuthStrategyClientCredentials
*/
export interface PortalAuthStrategyClientCredentials {
/**
* The Application Auth Strategy ID.
* @type {string}
* @memberof PortalAuthStrategyClientCredentials
*/
'id': string;
/**
*
* @type {string}
* @memberof PortalAuthStrategyClientCredentials
*/
'name': string;
/**
*
* @type {string}
* @memberof PortalAuthStrategyClientCredentials
*/
'credential_type': PortalAuthStrategyClientCredentialsCredentialTypeEnum;
/**
*
* @type {Array<string>}
* @memberof PortalAuthStrategyClientCredentials
*/
'auth_methods': Array<string>;
}

export const PortalAuthStrategyClientCredentialsCredentialTypeEnum = {
ClientCredentials: 'client_credentials',
SelfManagedClientCredentials: 'self_managed_client_credentials'
} as const;

export type PortalAuthStrategyClientCredentialsCredentialTypeEnum = typeof PortalAuthStrategyClientCredentialsCredentialTypeEnum[keyof typeof PortalAuthStrategyClientCredentialsCredentialTypeEnum];

/**
* KeyAuth Auth strategy that the application uses.
* @export
* @interface PortalAuthStrategyKeyAuth
*/
export interface PortalAuthStrategyKeyAuth {
/**
* The Application Auth Strategy ID.
* @type {string}
* @memberof PortalAuthStrategyKeyAuth
*/
'id': string;
/**
*
* @type {string}
* @memberof PortalAuthStrategyKeyAuth
*/
'name': string;
/**
*
* @type {string}
* @memberof PortalAuthStrategyKeyAuth
*/
'credential_type': PortalAuthStrategyKeyAuthCredentialTypeEnum;
/**
*
* @type {Array<string>}
* @memberof PortalAuthStrategyKeyAuth
*/
'key_names': Array<string>;
}

export const PortalAuthStrategyKeyAuthCredentialTypeEnum = {
KeyAuth: 'key_auth'
} as const;

export type PortalAuthStrategyKeyAuthCredentialTypeEnum = typeof PortalAuthStrategyKeyAuthCredentialTypeEnum[keyof typeof PortalAuthStrategyKeyAuthCredentialTypeEnum];

/**
* describe the portal execution context
* @export
Expand Down

0 comments on commit 691f3ba

Please sign in to comment.