diff --git a/src/api.ts b/src/api.ts index d633e90..8fd7751 100644 --- a/src/api.ts +++ b/src/api.ts @@ -129,7 +129,7 @@ export interface ApplicationCreationResponse { * @type {PortalAuthStrategy} * @memberof ApplicationCreationResponse */ - 'auth_strategy': PortalAuthStrategy | null; + 'auth_strategy': PortalAuthStrategy; /** * **Pre-release Endpoint** This endpoint is currently in beta and is subject to change. The granted scopes for the application. Will only be included if supported by the application\'s auth strategy. * @type {Array} @@ -148,6 +148,12 @@ export interface ApplicationCreationResponse { * @memberof ApplicationCreationResponse */ 'updated_at': string; + /** + * An identifier to correlate the application with an external system. Cannot be set when using Dynamic Client Registration. + * @type {string} + * @memberof ApplicationCreationResponse + */ + 'client_id'?: string; } /** * @@ -241,7 +247,7 @@ export interface ApplicationUpdateResponse { * @type {PortalAuthStrategy} * @memberof ApplicationUpdateResponse */ - 'auth_strategy'?: PortalAuthStrategy | null; + 'auth_strategy'?: PortalAuthStrategy; /** * **Pre-release Endpoint** This endpoint is currently in beta and is subject to change. The granted scopes for the application. Will only be included if supported by the application\'s auth strategy. * @type {Array} @@ -260,6 +266,12 @@ export interface ApplicationUpdateResponse { * @memberof ApplicationUpdateResponse */ 'updated_at': string; + /** + * An identifier to correlate the application with an external system. Cannot be set when using Dynamic Client Registration. + * @type {string} + * @memberof ApplicationUpdateResponse + */ + 'client_id'?: string; } /** * @type AuthStrategy @@ -297,6 +309,12 @@ export interface AuthStrategyClientCredentials { * @memberof AuthStrategyClientCredentials */ 'auth_methods': Array; + /** + * Possible developer selectable scopes for an application. Only present when using DCR Provider that supports it. + * @type {Array} + * @memberof AuthStrategyClientCredentials + */ + 'available_scopes'?: Array; } export const AuthStrategyClientCredentialsCredentialTypeEnum = { @@ -330,6 +348,12 @@ export interface AuthStrategyKeyAuth { * @memberof AuthStrategyKeyAuth */ 'credential_type': AuthStrategyKeyAuthCredentialTypeEnum; + /** + * + * @type {Array} + * @memberof AuthStrategyKeyAuth + */ + 'key_names': Array; } export const AuthStrategyKeyAuthCredentialTypeEnum = { @@ -682,6 +706,12 @@ export interface CreateApplicationPayload { * @memberof CreateApplicationPayload */ 'scopes'?: Array; + /** + * An identifier to correlate the application with an external system. Cannot be set when using Dynamic Client Registration. + * @type {string} + * @memberof CreateApplicationPayload + */ + 'client_id'?: string; } /** * @@ -1106,7 +1136,7 @@ export interface GetApplicationResponse { * @type {PortalAuthStrategy} * @memberof GetApplicationResponse */ - 'auth_strategy'?: PortalAuthStrategy | null; + 'auth_strategy'?: PortalAuthStrategy; /** * **Pre-release Endpoint** This endpoint is currently in beta and is subject to change. The granted scopes for the application. Will only be included if supported by the application\'s auth strategy. * @type {Array} @@ -1125,6 +1155,12 @@ export interface GetApplicationResponse { * @memberof GetApplicationResponse */ 'updated_at': string; + /** + * An identifier to correlate the application with an external system. Cannot be set when using Dynamic Client Registration. + * @type {string} + * @memberof GetApplicationResponse + */ + 'client_id'?: string; } /** * @@ -1648,6 +1684,7 @@ export const InvalidRules = { IsFqdn: 'is_fqdn', IsArn: 'is_arn', UnknownProperty: 'unknown_property', + MissingReference: 'missing_reference', IsLabel: 'is_label', MatchesRegex: 'matches_regex', Invalid: 'invalid', @@ -3952,6 +3989,12 @@ export interface UpdateApplicationPayload { * @memberof UpdateApplicationPayload */ 'scopes'?: Array; + /** + * An identifier to correlate the application with an external system. Cannot be set when using Dynamic Client Registration. + * @type {string} + * @memberof UpdateApplicationPayload + */ + 'client_id'?: string; } /** * @@ -6217,7 +6260,7 @@ export const DocumentationApiAxiosParamCreator = function (configuration?: Confi * Returns the specified document from the product\'s document tree. * @summary Get one product document * @param {string} productId Contains a unique identifier used by the Portal API for this resource. - * @param {string} documentId Contains a unique identifier used by the Portal API for this resource. + * @param {string} documentId ID of the document. * @param {DocumentFormatContentTypeEnum} [accept] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6327,7 +6370,7 @@ export const DocumentationApiFp = function(configuration?: Configuration) { * Returns the specified document from the product\'s document tree. * @summary Get one product document * @param {string} productId Contains a unique identifier used by the Portal API for this resource. - * @param {string} documentId Contains a unique identifier used by the Portal API for this resource. + * @param {string} documentId ID of the document. * @param {DocumentFormatContentTypeEnum} [accept] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6364,7 +6407,7 @@ export const DocumentationApiFactory = function (configuration?: Configuration, * Returns the specified document from the product\'s document tree. * @summary Get one product document * @param {string} productId Contains a unique identifier used by the Portal API for this resource. - * @param {string} documentId Contains a unique identifier used by the Portal API for this resource. + * @param {string} documentId ID of the document. * @param {DocumentFormatContentTypeEnum} [accept] * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -6402,7 +6445,7 @@ export interface DocumentationApiGetProductDocumentRequest { readonly productId: string /** - * Contains a unique identifier used by the Portal API for this resource. + * ID of the document. * @type {string} * @memberof DocumentationApiGetProductDocument */