diff --git a/openapi.yaml b/openapi.yaml index dd6fc0c..b678b21 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -230,7 +230,7 @@ paths: Scopes shared between product versions will be returned, even if not currently registered for given product version. - Will return 409 if this feature is not supported by the application. + Will return 422 if this feature is not supported by the application. operationId: get-application-product-version-granted-scopes parameters: - $ref: '#/components/parameters/ApplicationId' @@ -1448,35 +1448,35 @@ components: provided as "Sentence case" for direct use in the UI. readOnly: true ForbiddenError: - type: object - properties: - status: - example: 403 - title: - example: Forbidden - type: - example: https://httpstatuses.com/403 - instance: - example: kong:trace:1234567890 - detail: - example: Forbidden allOf: - $ref: '#/components/schemas/BaseError' + - type: object + properties: + status: + example: 403 + title: + example: Forbidden + type: + example: https://httpstatuses.com/403 + instance: + example: kong:trace:1234567890 + detail: + example: Forbidden UnauthorizedError: - type: object - properties: - status: - example: 401 - title: - example: Unauthorized - type: - example: https://httpstatuses.com/401 - instance: - example: kong:trace:1234567890 - detail: - example: Invalid credentials allOf: - $ref: '#/components/schemas/BaseError' + - type: object + properties: + status: + example: 401 + title: + example: Unauthorized + type: + example: https://httpstatuses.com/401 + instance: + example: kong:trace:1234567890 + detail: + example: Invalid credentials AuthStrategyId: description: >- ID of the auth strategy to use for the application. If null or not @@ -1895,13 +1895,7 @@ components: nullable: true enum: - required - - enum - - min_length - max_length - - min_digits - - min_lowercase - - min_uppercase - - min_symbols - is_array - is_base64 - is_boolean @@ -1912,11 +1906,18 @@ components: - is_object - is_string - is_uuid + - is_fqdn + - is_arn - unknown_property - is_label - matches_regex - InvalidParameterChoiceItem: + - invalid + - is_supported_network_availability_zone_list + - is_supported_network_cidr_block + - is_supported_provider_region + InvalidParameterStandard: type: object + additionalProperties: false properties: field: type: string @@ -1924,6 +1925,65 @@ components: readOnly: true rule: $ref: '#/components/schemas/InvalidRules' + source: + type: string + example: body + reason: + type: string + example: is a required field + readOnly: true + required: + - field + - reason + InvalidParameterMinimumLength: + type: object + additionalProperties: false + properties: + field: + type: string + example: name + readOnly: true + rule: + description: invalid parameters rules + type: string + readOnly: true + nullable: false + enum: + - min_length + - min_digits + - min_lowercase + - min_uppercase + - min_symbols + minimum: + type: integer + example: 8 + source: + type: string + example: body + reason: + type: string + example: is a required field + readOnly: true + required: + - field + - reason + - rule + - minimum + InvalidParameterChoiceItem: + type: object + additionalProperties: false + properties: + field: + type: string + example: name + readOnly: true + rule: + description: invalid parameters rules + type: string + readOnly: true + nullable: false + enum: + - enum reason: type: string example: is a required field @@ -1931,14 +1991,21 @@ components: choices: type: array uniqueItems: true - nullable: true - items: {} readOnly: true + nullable: false + minimum: 1 + items: {} + source: + type: string + example: body required: - field - reason + - rule + - choices InvalidParameterDependentItem: type: object + additionalProperties: false properties: field: type: string @@ -1961,6 +2028,9 @@ components: nullable: true items: {} readOnly: true + source: + type: string + example: body required: - field - rule @@ -1974,92 +2044,84 @@ components: description: invalid parameters items: oneOf: + - $ref: '#/components/schemas/InvalidParameterStandard' + - $ref: '#/components/schemas/InvalidParameterMinimumLength' - $ref: '#/components/schemas/InvalidParameterChoiceItem' - $ref: '#/components/schemas/InvalidParameterDependentItem' BadRequestError: - type: object - required: - - invalid_parameters - properties: - status: - example: 400 - title: - example: Bad Request - type: - example: https://httpstatuses.com/400 - instance: - example: kong:trace:1234567890 - detail: - example: Invalid request body - invalid_parameters: - $ref: '#/components/schemas/InvalidParameters' allOf: - $ref: '#/components/schemas/BaseError' + - type: object + required: + - invalid_parameters + properties: + invalid_parameters: + $ref: '#/components/schemas/InvalidParameters' NotFoundError: - type: object - properties: - status: - example: 404 - title: - example: Not Found - type: - example: https://httpstatuses.com/404 - instance: - example: kong:trace:1234567890 - detail: - example: Not found allOf: - $ref: '#/components/schemas/BaseError' + - type: object + properties: + status: + example: 404 + title: + example: Not Found + type: + example: https://httpstatuses.com/404 + instance: + example: kong:trace:1234567890 + detail: + example: Not found ConflictError: - type: object - properties: - status: - example: 409 - title: - example: Conflict - type: - example: https://httpstatuses.com/409 - instance: - example: kong:trace:1234567890 - detail: - example: Conflict allOf: - $ref: '#/components/schemas/BaseError' + - type: object + properties: + status: + example: 409 + title: + example: Conflict + type: + example: https://httpstatuses.com/409 + instance: + example: kong:trace:1234567890 + detail: + example: Conflict TooManyRequestsError: - type: object - properties: - status: - example: 429 - title: - example: Too Many Requests - type: - example: https://httpstatuses.com/429 - instance: - example: kong:trace:1234567890 - detail: - example: Too Many Requests allOf: - $ref: '#/components/schemas/BaseError' + - type: object + properties: + status: + example: 429 + title: + example: Too Many Requests + type: + example: https://httpstatuses.com/429 + instance: + example: kong:trace:1234567890 + detail: + example: Too Many Requests RefreshedGrantedScopes: description: List of granted scopes, directly updated from the IDP type: array items: type: string UnprocessableContentError: - type: object - properties: - status: - example: 422 - title: - example: Unprocessable Content - type: - example: https://httpstatuses.com/422 - instance: - example: kong:trace:1234567891 - detail: - example: Unprocessable Content allOf: - $ref: '#/components/schemas/BaseError' + - type: object + properties: + status: + example: 422 + title: + example: Unprocessable Content + type: + example: https://httpstatuses.com/422 + instance: + example: kong:trace:1234567891 + detail: + example: Unprocessable Content AuthenticateRequest: type: object additionalProperties: false @@ -2139,20 +2201,20 @@ components: example: c8efd006-d8e1-4743-b91b-f163b9eae06a readOnly: true GoneError: - type: object - properties: - status: - example: 410 - title: - example: Gone - type: - example: https://httpstatuses.com/410 - instance: - example: kong:trace:1234567890 - detail: - example: Gone allOf: - $ref: '#/components/schemas/BaseError' + - type: object + properties: + status: + example: 410 + title: + example: Gone + type: + example: https://httpstatuses.com/410 + instance: + example: kong:trace:1234567890 + detail: + example: Gone Developer: title: Developer type: object @@ -2301,6 +2363,9 @@ components: allowed_time_period: type: string description: Allowed time period for Analytics queries + name: + type: string + description: Name of the developer portal. required: - portal_id - org_id @@ -2311,6 +2376,7 @@ components: - rbac_enabled - dcr_provider_ids - allowed_time_period + - name ProductActionsResponse: title: Product Actions Response type: object @@ -2727,6 +2793,12 @@ components: enum: - application/json - application/vnd.konnect.document-tree+json + Metadata: + type: object + description: Contains key value pairs information about entity's metadata. + additionalProperties: true + example: + owner: John Appleseed DocumentItem: type: object title: Document item @@ -2736,6 +2808,7 @@ components: - parent_document_id - slug - title + - metadata - created_at - updated_at properties: @@ -2758,6 +2831,8 @@ components: type: string description: the title of the document example: Getting Started + metadata: + $ref: '#/components/schemas/Metadata' created_at: $ref: '#/components/schemas/CreatedAt' updated_at: @@ -2804,12 +2879,7 @@ components: description: the slug of the document example: getting-started metadata: - type: object - description: the metadata of the document - example: - author: Jane Doe - description: This is a description - keywords: hello, world + $ref: '#/components/schemas/Metadata' children: type: array items: @@ -3158,9 +3228,6 @@ components: content: - type: text text: Hello World - NotAvailableError: - allOf: - - $ref: '#/components/schemas/BaseError' CreateRegistrationPayload: additionalProperties: false type: object @@ -3664,7 +3731,7 @@ components: content: application/problem+json: schema: - $ref: '#/components/schemas/NotAvailableError' + $ref: '#/components/schemas/BaseError' CreateRegistration: description: Registration creation response. content: diff --git a/src/api.ts b/src/api.ts index 916f0ed..d9136e6 100644 --- a/src/api.ts +++ b/src/api.ts @@ -364,35 +364,35 @@ export interface AuthenticateRequest { */ export interface BadRequestError { /** - * - * @type {any} + * The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. + * @type {number} * @memberof BadRequestError */ - 'status'?: any; + 'status': number; /** - * - * @type {any} + * A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as \"Sentence case\" for direct use in the UI. + * @type {string} * @memberof BadRequestError */ - 'title'?: any; + 'title': string; /** - * - * @type {any} + * The error type. + * @type {string} * @memberof BadRequestError */ - 'type'?: any; + 'type'?: string; /** - * - * @type {any} + * Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. + * @type {string} * @memberof BadRequestError */ - 'instance'?: any; + 'instance': string; /** - * - * @type {any} + * A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as \"Sentence case\" for direct use in the UI. + * @type {string} * @memberof BadRequestError */ - 'detail'?: any; + 'detail': string; /** * invalid parameters * @type {Set} @@ -400,6 +400,19 @@ export interface BadRequestError { */ 'invalid_parameters': Set; } +/** + * + * @export + * @interface BadRequestErrorAllOf + */ +export interface BadRequestErrorAllOf { + /** + * invalid parameters + * @type {Set} + * @memberof BadRequestErrorAllOf + */ + 'invalid_parameters': Set; +} /** * standard error * @export @@ -564,13 +577,13 @@ export interface ConflictError { * @type {any} * @memberof ConflictError */ - 'status'?: any; + 'status': any; /** * * @type {any} * @memberof ConflictError */ - 'title'?: any; + 'title': any; /** * * @type {any} @@ -582,12 +595,49 @@ export interface ConflictError { * @type {any} * @memberof ConflictError */ - 'instance'?: any; + 'instance': any; /** * * @type {any} * @memberof ConflictError */ + 'detail': any; +} +/** + * + * @export + * @interface ConflictErrorAllOf + */ +export interface ConflictErrorAllOf { + /** + * + * @type {any} + * @memberof ConflictErrorAllOf + */ + 'status'?: any; + /** + * + * @type {any} + * @memberof ConflictErrorAllOf + */ + 'title'?: any; + /** + * + * @type {any} + * @memberof ConflictErrorAllOf + */ + 'type'?: any; + /** + * + * @type {any} + * @memberof ConflictErrorAllOf + */ + 'instance'?: any; + /** + * + * @type {any} + * @memberof ConflictErrorAllOf + */ 'detail'?: any; } /** @@ -833,6 +883,12 @@ export interface DocumentItem { * @memberof DocumentItem */ 'title': string; + /** + * Contains key value pairs information about entity\'s metadata. + * @type {{ [key: string]: any; }} + * @memberof DocumentItem + */ + 'metadata': { [key: string]: any; }; /** * An ISO-8601 timestamp representation of entity creation date. * @type {string} @@ -877,11 +933,11 @@ export interface DocumentTree { */ 'slug': string; /** - * the metadata of the document - * @type {object} + * Contains key value pairs information about entity\'s metadata. + * @type {{ [key: string]: any; }} * @memberof DocumentTree */ - 'metadata': object; + 'metadata': { [key: string]: any; }; /** * * @type {Array} @@ -946,13 +1002,13 @@ export interface ForbiddenError { * @type {any} * @memberof ForbiddenError */ - 'status'?: any; + 'status': any; /** * * @type {any} * @memberof ForbiddenError */ - 'title'?: any; + 'title': any; /** * * @type {any} @@ -964,12 +1020,49 @@ export interface ForbiddenError { * @type {any} * @memberof ForbiddenError */ - 'instance'?: any; + 'instance': any; /** * * @type {any} * @memberof ForbiddenError */ + 'detail': any; +} +/** + * + * @export + * @interface ForbiddenErrorAllOf + */ +export interface ForbiddenErrorAllOf { + /** + * + * @type {any} + * @memberof ForbiddenErrorAllOf + */ + 'status'?: any; + /** + * + * @type {any} + * @memberof ForbiddenErrorAllOf + */ + 'title'?: any; + /** + * + * @type {any} + * @memberof ForbiddenErrorAllOf + */ + 'type'?: any; + /** + * + * @type {any} + * @memberof ForbiddenErrorAllOf + */ + 'instance'?: any; + /** + * + * @type {any} + * @memberof ForbiddenErrorAllOf + */ 'detail'?: any; } /** @@ -1179,13 +1272,13 @@ export interface GoneError { * @type {any} * @memberof GoneError */ - 'status'?: any; + 'status': any; /** * * @type {any} * @memberof GoneError */ - 'title'?: any; + 'title': any; /** * * @type {any} @@ -1197,12 +1290,49 @@ export interface GoneError { * @type {any} * @memberof GoneError */ - 'instance'?: any; + 'instance': any; /** * * @type {any} * @memberof GoneError */ + 'detail': any; +} +/** + * + * @export + * @interface GoneErrorAllOf + */ +export interface GoneErrorAllOf { + /** + * + * @type {any} + * @memberof GoneErrorAllOf + */ + 'status'?: any; + /** + * + * @type {any} + * @memberof GoneErrorAllOf + */ + 'title'?: any; + /** + * + * @type {any} + * @memberof GoneErrorAllOf + */ + 'type'?: any; + /** + * + * @type {any} + * @memberof GoneErrorAllOf + */ + 'instance'?: any; + /** + * + * @type {any} + * @memberof GoneErrorAllOf + */ 'detail'?: any; } /** @@ -1288,11 +1418,11 @@ export interface InvalidParameterChoiceItem { */ 'field': string; /** - * - * @type {InvalidRules} + * invalid parameters rules + * @type {string} * @memberof InvalidParameterChoiceItem */ - 'rule'?: InvalidRules | null; + 'rule': InvalidParameterChoiceItemRuleEnum; /** * * @type {string} @@ -1304,8 +1434,21 @@ export interface InvalidParameterChoiceItem { * @type {Set} * @memberof InvalidParameterChoiceItem */ - 'choices'?: Set | null; + 'choices': Set; + /** + * + * @type {string} + * @memberof InvalidParameterChoiceItem + */ + 'source'?: string; } + +export const InvalidParameterChoiceItemRuleEnum = { + Enum: 'enum' +} as const; + +export type InvalidParameterChoiceItemRuleEnum = typeof InvalidParameterChoiceItemRuleEnum[keyof typeof InvalidParameterChoiceItemRuleEnum]; + /** * * @export @@ -1336,6 +1479,12 @@ export interface InvalidParameterDependentItem { * @memberof InvalidParameterDependentItem */ 'dependents': Set | null; + /** + * + * @type {string} + * @memberof InvalidParameterDependentItem + */ + 'source'?: string; } export const InvalidParameterDependentItemRuleEnum = { @@ -1344,11 +1493,90 @@ export const InvalidParameterDependentItemRuleEnum = { export type InvalidParameterDependentItemRuleEnum = typeof InvalidParameterDependentItemRuleEnum[keyof typeof InvalidParameterDependentItemRuleEnum]; +/** + * + * @export + * @interface InvalidParameterMinimumLength + */ +export interface InvalidParameterMinimumLength { + /** + * + * @type {string} + * @memberof InvalidParameterMinimumLength + */ + 'field': string; + /** + * invalid parameters rules + * @type {string} + * @memberof InvalidParameterMinimumLength + */ + 'rule': InvalidParameterMinimumLengthRuleEnum; + /** + * + * @type {number} + * @memberof InvalidParameterMinimumLength + */ + 'minimum': number; + /** + * + * @type {string} + * @memberof InvalidParameterMinimumLength + */ + 'source'?: string; + /** + * + * @type {string} + * @memberof InvalidParameterMinimumLength + */ + 'reason': string; +} + +export const InvalidParameterMinimumLengthRuleEnum = { + Length: 'min_length', + Digits: 'min_digits', + Lowercase: 'min_lowercase', + Uppercase: 'min_uppercase', + Symbols: 'min_symbols' +} as const; + +export type InvalidParameterMinimumLengthRuleEnum = typeof InvalidParameterMinimumLengthRuleEnum[keyof typeof InvalidParameterMinimumLengthRuleEnum]; + +/** + * + * @export + * @interface InvalidParameterStandard + */ +export interface InvalidParameterStandard { + /** + * + * @type {string} + * @memberof InvalidParameterStandard + */ + 'field': string; + /** + * + * @type {InvalidRules} + * @memberof InvalidParameterStandard + */ + 'rule'?: InvalidRules | null; + /** + * + * @type {string} + * @memberof InvalidParameterStandard + */ + 'source'?: string; + /** + * + * @type {string} + * @memberof InvalidParameterStandard + */ + 'reason': string; +} /** * @type InvalidParametersInner * @export */ -export type InvalidParametersInner = InvalidParameterChoiceItem | InvalidParameterDependentItem; +export type InvalidParametersInner = InvalidParameterChoiceItem | InvalidParameterDependentItem | InvalidParameterMinimumLength | InvalidParameterStandard; /** * invalid parameters rules @@ -1358,13 +1586,7 @@ export type InvalidParametersInner = InvalidParameterChoiceItem | InvalidParamet export const InvalidRules = { Required: 'required', - Enum: 'enum', - MinLength: 'min_length', MaxLength: 'max_length', - MinDigits: 'min_digits', - MinLowercase: 'min_lowercase', - MinUppercase: 'min_uppercase', - MinSymbols: 'min_symbols', IsArray: 'is_array', IsBase64: 'is_base64', IsBoolean: 'is_boolean', @@ -1375,9 +1597,15 @@ export const InvalidRules = { IsObject: 'is_object', IsString: 'is_string', IsUuid: 'is_uuid', + IsFqdn: 'is_fqdn', + IsArn: 'is_arn', UnknownProperty: 'unknown_property', IsLabel: 'is_label', - MatchesRegex: 'matches_regex' + MatchesRegex: 'matches_regex', + Invalid: 'invalid', + IsSupportedNetworkAvailabilityZoneList: 'is_supported_network_availability_zone_list', + IsSupportedNetworkCidrBlock: 'is_supported_network_cidr_block', + IsSupportedProviderRegion: 'is_supported_provider_region' } as const; export type InvalidRules = typeof InvalidRules[keyof typeof InvalidRules]; @@ -1628,74 +1856,74 @@ export interface ListRegistrationsResponse { /** * * @export - * @interface NotAvailableError + * @interface NotFoundError */ -export interface NotAvailableError { +export interface NotFoundError { /** - * The HTTP status code of the error. Useful when passing the response body to child properties in a frontend UI. Must be returned as an integer. - * @type {number} - * @memberof NotAvailableError + * + * @type {any} + * @memberof NotFoundError */ - 'status': number; + 'status': any; /** - * A short, human-readable summary of the problem. It should not change between occurences of a problem, except for localization. Should be provided as \"Sentence case\" for direct use in the UI. - * @type {string} - * @memberof NotAvailableError + * + * @type {any} + * @memberof NotFoundError */ - 'title': string; + 'title': any; /** - * The error type. - * @type {string} - * @memberof NotAvailableError + * + * @type {any} + * @memberof NotFoundError */ - 'type'?: string; + 'type'?: any; /** - * Used to return the correlation ID back to the user, in the format kong:trace:. This helps us find the relevant logs when a customer reports an issue. - * @type {string} - * @memberof NotAvailableError + * + * @type {any} + * @memberof NotFoundError */ - 'instance': string; + 'instance': any; /** - * A human readable explanation specific to this occurence of the problem. This field may contain request/entity data to help the user understand what went wrong. Enclose variable values in square brackets. Should be provided as \"Sentence case\" for direct use in the UI. - * @type {string} - * @memberof NotAvailableError + * + * @type {any} + * @memberof NotFoundError */ - 'detail': string; + 'detail': any; } /** * * @export - * @interface NotFoundError + * @interface NotFoundErrorAllOf */ -export interface NotFoundError { +export interface NotFoundErrorAllOf { /** * * @type {any} - * @memberof NotFoundError + * @memberof NotFoundErrorAllOf */ 'status'?: any; /** * * @type {any} - * @memberof NotFoundError + * @memberof NotFoundErrorAllOf */ 'title'?: any; /** * * @type {any} - * @memberof NotFoundError + * @memberof NotFoundErrorAllOf */ 'type'?: any; /** * * @type {any} - * @memberof NotFoundError + * @memberof NotFoundErrorAllOf */ 'instance'?: any; /** * * @type {any} - * @memberof NotFoundError + * @memberof NotFoundErrorAllOf */ 'detail'?: any; } @@ -2046,6 +2274,12 @@ export interface PortalContext { * @memberof PortalContext */ 'allowed_time_period': string; + /** + * Name of the developer portal. + * @type {string} + * @memberof PortalContext + */ + 'name': string; } /** * @@ -3393,13 +3627,13 @@ export interface TooManyRequestsError { * @type {any} * @memberof TooManyRequestsError */ - 'status'?: any; + 'status': any; /** * * @type {any} * @memberof TooManyRequestsError */ - 'title'?: any; + 'title': any; /** * * @type {any} @@ -3411,12 +3645,49 @@ export interface TooManyRequestsError { * @type {any} * @memberof TooManyRequestsError */ - 'instance'?: any; + 'instance': any; /** * * @type {any} * @memberof TooManyRequestsError */ + 'detail': any; +} +/** + * + * @export + * @interface TooManyRequestsErrorAllOf + */ +export interface TooManyRequestsErrorAllOf { + /** + * + * @type {any} + * @memberof TooManyRequestsErrorAllOf + */ + 'status'?: any; + /** + * + * @type {any} + * @memberof TooManyRequestsErrorAllOf + */ + 'title'?: any; + /** + * + * @type {any} + * @memberof TooManyRequestsErrorAllOf + */ + 'type'?: any; + /** + * + * @type {any} + * @memberof TooManyRequestsErrorAllOf + */ + 'instance'?: any; + /** + * + * @type {any} + * @memberof TooManyRequestsErrorAllOf + */ 'detail'?: any; } /** @@ -3430,13 +3701,13 @@ export interface UnauthorizedError { * @type {any} * @memberof UnauthorizedError */ - 'status'?: any; + 'status': any; /** * * @type {any} * @memberof UnauthorizedError */ - 'title'?: any; + 'title': any; /** * * @type {any} @@ -3448,12 +3719,49 @@ export interface UnauthorizedError { * @type {any} * @memberof UnauthorizedError */ - 'instance'?: any; + 'instance': any; /** * * @type {any} * @memberof UnauthorizedError */ + 'detail': any; +} +/** + * + * @export + * @interface UnauthorizedErrorAllOf + */ +export interface UnauthorizedErrorAllOf { + /** + * + * @type {any} + * @memberof UnauthorizedErrorAllOf + */ + 'status'?: any; + /** + * + * @type {any} + * @memberof UnauthorizedErrorAllOf + */ + 'title'?: any; + /** + * + * @type {any} + * @memberof UnauthorizedErrorAllOf + */ + 'type'?: any; + /** + * + * @type {any} + * @memberof UnauthorizedErrorAllOf + */ + 'instance'?: any; + /** + * + * @type {any} + * @memberof UnauthorizedErrorAllOf + */ 'detail'?: any; } /** @@ -3467,13 +3775,13 @@ export interface UnprocessableContentError { * @type {any} * @memberof UnprocessableContentError */ - 'status'?: any; + 'status': any; /** * * @type {any} * @memberof UnprocessableContentError */ - 'title'?: any; + 'title': any; /** * * @type {any} @@ -3485,12 +3793,49 @@ export interface UnprocessableContentError { * @type {any} * @memberof UnprocessableContentError */ - 'instance'?: any; + 'instance': any; /** * * @type {any} * @memberof UnprocessableContentError */ + 'detail': any; +} +/** + * + * @export + * @interface UnprocessableContentErrorAllOf + */ +export interface UnprocessableContentErrorAllOf { + /** + * + * @type {any} + * @memberof UnprocessableContentErrorAllOf + */ + 'status'?: any; + /** + * + * @type {any} + * @memberof UnprocessableContentErrorAllOf + */ + 'title'?: any; + /** + * + * @type {any} + * @memberof UnprocessableContentErrorAllOf + */ + 'type'?: any; + /** + * + * @type {any} + * @memberof UnprocessableContentErrorAllOf + */ + 'instance'?: any; + /** + * + * @type {any} + * @memberof UnprocessableContentErrorAllOf + */ 'detail'?: any; } /** @@ -3876,7 +4221,7 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config }; }, /** - * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 409 if this feature is not supported by the application. + * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 422 if this feature is not supported by the application. * @summary Get the granted scopes * @param {string} applicationId Id of the targeted application * @param {string} productVersionId Contains a unique identifier used by the Portal API for this resource. @@ -4130,7 +4475,7 @@ export const ApplicationsApiFp = function(configuration?: Configuration) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 409 if this feature is not supported by the application. + * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 422 if this feature is not supported by the application. * @summary Get the granted scopes * @param {string} applicationId Id of the targeted application * @param {string} productVersionId Contains a unique identifier used by the Portal API for this resource. @@ -4227,7 +4572,7 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b return localVarFp.getApplication(applicationId, options).then((request) => request(axios, basePath)); }, /** - * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 409 if this feature is not supported by the application. + * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 422 if this feature is not supported by the application. * @summary Get the granted scopes * @param {string} applicationId Id of the targeted application * @param {string} productVersionId Contains a unique identifier used by the Portal API for this resource. @@ -4515,7 +4860,7 @@ export class ApplicationsApi extends BaseAPI { } /** - * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 409 if this feature is not supported by the application. + * Retrieves the granted scopes of a specified application and product version directly from the IDP. Scopes shared between product versions will be returned, even if not currently registered for given product version. Will return 422 if this feature is not supported by the application. * @summary Get the granted scopes * @param {ApplicationsApiGetApplicationProductVersionGrantedScopesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option.