Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/lib/seam/connect/models/customer/location-resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ export const neutral_resource = base_location_resource.extend({
})
.describe('Your unique identifier for the site.')
.optional(),
duration_minutes: z
.number()
.int()
.positive()
.optional()
.describe(
'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.',
),
})

export const property_resource = base_location_resource.extend({
Expand Down
35 changes: 35 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52205,6 +52205,13 @@ const openapi: OpenAPISpec = {
description: 'List of general spaces or areas.',
items: {
properties: {
duration_minutes: {
description:
'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.',
exclusiveMinimum: true,
minimum: 0,
type: 'integer',
},
name: {
description:
'Your display name for this location resource.',
Expand Down Expand Up @@ -53451,6 +53458,13 @@ const openapi: OpenAPISpec = {
description: 'List of general spaces or areas.',
items: {
properties: {
duration_minutes: {
description:
'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.',
exclusiveMinimum: true,
minimum: 0,
type: 'integer',
},
name: {
description:
'Your display name for this location resource.',
Expand Down Expand Up @@ -79368,6 +79382,13 @@ const openapi: OpenAPISpec = {
'Optional list of spaces that you want to include in the new building block magic link.',
items: {
properties: {
duration_minutes: {
description:
'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.',
exclusiveMinimum: true,
minimum: 0,
type: 'integer',
},
name: {
description:
'Your display name for this location resource.',
Expand Down Expand Up @@ -79454,6 +79475,13 @@ const openapi: OpenAPISpec = {
'Optional list of spaces that you want to include in the new building block magic link.',
items: {
properties: {
duration_minutes: {
description:
'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.',
exclusiveMinimum: true,
minimum: 0,
type: 'integer',
},
name: {
description:
'Your display name for this location resource.',
Expand Down Expand Up @@ -79594,6 +79622,13 @@ const openapi: OpenAPISpec = {
'Optional list of spaces that you want to include in the new building block magic link.',
items: {
properties: {
duration_minutes: {
description:
'Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.',
exclusiveMinimum: true,
minimum: 0,
type: 'integer',
},
name: {
description:
'Your display name for this location resource.',
Expand Down
8 changes: 8 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37306,6 +37306,8 @@ export type Routes = {
space_key: string
/** Your unique identifier for the site. */
parent_site_key?: string | undefined
/** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
duration_minutes?: number | undefined
}[]
| undefined
/** List of general sites or areas. */
Expand Down Expand Up @@ -37736,6 +37738,8 @@ export type Routes = {
space_key: string
/** Your unique identifier for the site. */
parent_site_key?: string | undefined
/** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
duration_minutes?: number | undefined
}[]
| undefined
/** List of general sites or areas. */
Expand Down Expand Up @@ -105317,6 +105321,8 @@ export type Routes = {
space_key: string
/** Your unique identifier for the site. */
parent_site_key?: string | undefined
/** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
duration_minutes?: number | undefined
}[]
| undefined
}
Expand Down Expand Up @@ -105390,6 +105396,8 @@ export type Routes = {
space_key: string
/** Your unique identifier for the site. */
parent_site_key?: string | undefined
/** Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space. */
duration_minutes?: number | undefined
}[]
| undefined
}
Expand Down
Loading