@25sprout/react-starter
Version:
25sprout web starter with React
99 lines (97 loc) • 1.9 kB
TypeScript
/* eslint-disable */
/* tslint:disable */
/*
* ---------------------------------------------------------------
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
* ## ##
* ## AUTHOR: acacode ##
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
* ---------------------------------------------------------------
*/
export interface BannerResource {
/**
* @format int64
* @example 1
*/
id: number;
/** @example "範例 Banner" */
name: string;
/** @example "API 文件範例 Banner" */
subtitle: string;
/** @example "" */
link: string;
/** @example "" */
image: string;
/** @example "" */
imageMobile: string;
/** @example "https://www.youtube.com/watch?v=juqyzgnbspY" */
youtubeLink: string;
/** @example "AUTOPLAY_ON" */
autoPlay: boolean;
/** @example "0" */
weight: number;
}
export interface LocationResource {
/**
* @format int64
* @example 1
*/
id?: number;
/**
* 服務據點圖片
* @example ""
*/
photo?: string;
/**
* 服務據點名稱
* @example ""
*/
name?: string;
/**
* 服務據點聯絡電話
* @example ""
*/
telephoneNumber?: string;
/**
* 服務據點完整地址
* @example ""
*/
address?: string;
/**
* 服務據點縣市
* @example ""
*/
addressCity?: string;
/**
* 服務據點鄉鎮市區
* @example ""
*/
addressDistrict?: string;
/**
* 服務據點詳細地址
* @example ""
*/
addressDetail?: string;
/**
* 服務據點營業時間
* @example ""
*/
businessHours?: string;
/**
* 服務據點權重
* @example "0"
*/
weight?: number;
}
export interface V1LocationsListRequestParams {
/**
* 服務據點列表頁數
* @default ""
*/
pageNum?: number;
/**
* 服務據點搜尋條件
* @default ""
*/
filter?: string;
}