import { ApiProperty } from '@nestjs/swagger';

export class TermInfo {
  @ApiProperty({ description: '利用規約種別' })
  documentType: string;
  @ApiProperty({ description: 'バージョン' })
  version: string;
}
export class GetTermsInfoResponse {
  @ApiProperty({ type: [TermInfo] })
  termsInfo: TermInfo[];
}

export type TermsVersion = {
  eulaVersion: string;
  privacyNoticeVersion: string;
  dpaVersion: string;
};
