// Copyright Abridged, Inc. 2021,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; /** * The model class is generated from OpenAPI schema - RefreshTokenRequest * RefreshTokenRequest */ @model({name: 'RefreshTokenRequest'}) export class RefreshTokenRequest { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) scope?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) client_id?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) client_secret?: string; /** * */ @property({ required: true, jsonSchema: { type: 'string', enum: ['refresh_token'], }, }) grant_type: 'refresh_token'; /** * */ @property({ required: true, jsonSchema: { type: 'string', }, }) refresh_token: string; } export interface RefreshTokenRequestRelations { // describe navigational properties here } export type RefreshTokenRequestWithRelations = RefreshTokenRequest & RefreshTokenRequestRelations;