From a272dc01d2a5d536bf653800d051d0504ae76674 Mon Sep 17 00:00:00 2001 From: team-devx Date: Tue, 24 Oct 2023 15:04:33 +0000 Subject: [PATCH] chore: build SDK from openapi.yaml changes --- src/api.ts | 52 +++++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/src/api.ts b/src/api.ts index c2be11e..4997352 100644 --- a/src/api.ts +++ b/src/api.ts @@ -2084,10 +2084,10 @@ export interface ProductVersion { 'deprecated': boolean; /** * Configurations for how the product version is able to be registered for by applications. - * @type {Array} + * @type {Array} * @memberof ProductVersion */ - 'registration_configs': Array; + 'registration_configs': Array; } /** * @@ -2180,27 +2180,6 @@ export interface ProductVersionListPage { */ 'data': Array; } -/** - * - * @export - * @interface ProductVersionRegistrationConfigsInner - */ -export interface ProductVersionRegistrationConfigsInner { - /** - * - * @type {string} - * @memberof ProductVersionRegistrationConfigsInner - */ - 'name': ProductVersionRegistrationConfigsInnerNameEnum; -} - -export const ProductVersionRegistrationConfigsInnerNameEnum = { - KeyAuth: 'key-auth', - OpenidConnect: 'openid-connect' -} as const; - -export type ProductVersionRegistrationConfigsInnerNameEnum = typeof ProductVersionRegistrationConfigsInnerNameEnum[keyof typeof ProductVersionRegistrationConfigsInnerNameEnum]; - /** * API specification document for a product version. * @export @@ -2722,6 +2701,33 @@ export interface RegisterPayload { */ 'full_name': string; } +/** + * + * @export + * @interface RegistrationConfiguration + */ +export interface RegistrationConfiguration { + /** + * + * @type {string} + * @memberof RegistrationConfiguration + */ + 'name': RegistrationConfigurationNameEnum; + /** + * + * @type {Array} + * @memberof RegistrationConfiguration + */ + 'available_scopes'?: Array; +} + +export const RegistrationConfigurationNameEnum = { + KeyAuth: 'key-auth', + OpenidConnect: 'openid-connect' +} as const; + +export type RegistrationConfigurationNameEnum = typeof RegistrationConfigurationNameEnum[keyof typeof RegistrationConfigurationNameEnum]; + /** * Payload required to start the reset password flow * @export