Skip to content

Commit

Permalink
feat: add pickupHolidays type
Browse files Browse the repository at this point in the history
  • Loading branch information
soutofernando committed Nov 29, 2024
1 parent 73295cc commit 319b79f
Show file tree
Hide file tree
Showing 6 changed files with 3,782 additions and 3,810 deletions.
16 changes: 16 additions & 0 deletions commerce/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,20 @@ export interface OpeningHoursSpecification extends Omit<Thing, "@type"> {
/** The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours. */
validThrough?: string;
}
export interface PickupHolidays {
/**
* This represents the day when the pickup service will not be available.
*/
date?: string;
/** .
* Indicates when the service begins operating, if applicable.
*/
hourBegin?: string;
/**
* Indicates when the service stops operating, if applicable.
*/
hourEnd?: string;
}
export interface ContactPoint extends Omit<Thing, "@type"> {
"@type": "ContactPoint";
/** The geographic area where a service or offered item is provided. */
Expand Down Expand Up @@ -734,6 +748,8 @@ export interface PlaceLeaf extends Omit<Thing, "@type"> {
longitude?: number;
/** The total number of individuals that may attend an event or venue. */
maximumAttendeeCapacity?: number;
/** The opening hours of a particular location on public holidays */
pickupHolidays?: PickupHolidays[];
/** The opening hours of a certain place. */
openingHoursSpecification?: OpeningHoursSpecification[];
/** A photograph of this place. */
Expand Down
Loading

0 comments on commit 319b79f

Please sign in to comment.