// 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 - AccessTokenResponse * AccessTokenResponse */ @model({name: 'AccessTokenResponse'}) export class AccessTokenResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ required: true, jsonSchema: { type: 'string', }, }) access_token: string; /** * */ @property({ required: true, jsonSchema: { type: 'string', }, }) token_type: string; /** * */ @property({ jsonSchema: { type: 'number', }, }) expires_in?: number; /** * */ @property({ jsonSchema: { type: 'string', }, }) scope?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) refresh_token?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) id_token?: string; } export interface AccessTokenResponseRelations { // describe navigational properties here } export type AccessTokenResponseWithRelations = AccessTokenResponse & AccessTokenResponseRelations;