@seamapi/types 1.850.0 → 1.851.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32166,6 +32166,8 @@ export type Routes = {
32166
32166
  space_key: string;
32167
32167
  /** Your unique identifier for the site. */
32168
32168
  parent_site_key?: string | undefined;
32169
+ /** 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. */
32170
+ duration_minutes?: number | undefined;
32169
32171
  }[] | undefined;
32170
32172
  /** List of general sites or areas. */
32171
32173
  sites?: {
@@ -32553,6 +32555,8 @@ export type Routes = {
32553
32555
  space_key: string;
32554
32556
  /** Your unique identifier for the site. */
32555
32557
  parent_site_key?: string | undefined;
32558
+ /** 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. */
32559
+ duration_minutes?: number | undefined;
32556
32560
  }[] | undefined;
32557
32561
  /** List of general sites or areas. */
32558
32562
  sites?: {
@@ -88324,6 +88328,8 @@ export type Routes = {
88324
88328
  space_key: string;
88325
88329
  /** Your unique identifier for the site. */
88326
88330
  parent_site_key?: string | undefined;
88331
+ /** 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. */
88332
+ duration_minutes?: number | undefined;
88327
88333
  }[] | undefined;
88328
88334
  };
88329
88335
  formData: {};
@@ -88395,6 +88401,8 @@ export type Routes = {
88395
88401
  space_key: string;
88396
88402
  /** Your unique identifier for the site. */
88397
88403
  parent_site_key?: string | undefined;
88404
+ /** 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. */
88405
+ duration_minutes?: number | undefined;
88398
88406
  }[] | undefined;
88399
88407
  };
88400
88408
  formData: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.850.0",
3
+ "version": "1.851.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -24,6 +24,14 @@ export const neutral_resource = base_location_resource.extend({
24
24
  })
25
25
  .describe('Your unique identifier for the site.')
26
26
  .optional(),
27
+ duration_minutes: z
28
+ .number()
29
+ .int()
30
+ .positive()
31
+ .optional()
32
+ .describe(
33
+ '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.',
34
+ ),
27
35
  })
28
36
 
29
37
  export const property_resource = base_location_resource.extend({
@@ -52205,6 +52205,13 @@ const openapi: OpenAPISpec = {
52205
52205
  description: 'List of general spaces or areas.',
52206
52206
  items: {
52207
52207
  properties: {
52208
+ duration_minutes: {
52209
+ description:
52210
+ '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.',
52211
+ exclusiveMinimum: true,
52212
+ minimum: 0,
52213
+ type: 'integer',
52214
+ },
52208
52215
  name: {
52209
52216
  description:
52210
52217
  'Your display name for this location resource.',
@@ -53451,6 +53458,13 @@ const openapi: OpenAPISpec = {
53451
53458
  description: 'List of general spaces or areas.',
53452
53459
  items: {
53453
53460
  properties: {
53461
+ duration_minutes: {
53462
+ description:
53463
+ '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.',
53464
+ exclusiveMinimum: true,
53465
+ minimum: 0,
53466
+ type: 'integer',
53467
+ },
53454
53468
  name: {
53455
53469
  description:
53456
53470
  'Your display name for this location resource.',
@@ -79368,6 +79382,13 @@ const openapi: OpenAPISpec = {
79368
79382
  'Optional list of spaces that you want to include in the new building block magic link.',
79369
79383
  items: {
79370
79384
  properties: {
79385
+ duration_minutes: {
79386
+ description:
79387
+ '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.',
79388
+ exclusiveMinimum: true,
79389
+ minimum: 0,
79390
+ type: 'integer',
79391
+ },
79371
79392
  name: {
79372
79393
  description:
79373
79394
  'Your display name for this location resource.',
@@ -79454,6 +79475,13 @@ const openapi: OpenAPISpec = {
79454
79475
  'Optional list of spaces that you want to include in the new building block magic link.',
79455
79476
  items: {
79456
79477
  properties: {
79478
+ duration_minutes: {
79479
+ description:
79480
+ '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.',
79481
+ exclusiveMinimum: true,
79482
+ minimum: 0,
79483
+ type: 'integer',
79484
+ },
79457
79485
  name: {
79458
79486
  description:
79459
79487
  'Your display name for this location resource.',
@@ -79594,6 +79622,13 @@ const openapi: OpenAPISpec = {
79594
79622
  'Optional list of spaces that you want to include in the new building block magic link.',
79595
79623
  items: {
79596
79624
  properties: {
79625
+ duration_minutes: {
79626
+ description:
79627
+ '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.',
79628
+ exclusiveMinimum: true,
79629
+ minimum: 0,
79630
+ type: 'integer',
79631
+ },
79597
79632
  name: {
79598
79633
  description:
79599
79634
  'Your display name for this location resource.',
@@ -37306,6 +37306,8 @@ export type Routes = {
37306
37306
  space_key: string
37307
37307
  /** Your unique identifier for the site. */
37308
37308
  parent_site_key?: string | undefined
37309
+ /** 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. */
37310
+ duration_minutes?: number | undefined
37309
37311
  }[]
37310
37312
  | undefined
37311
37313
  /** List of general sites or areas. */
@@ -37736,6 +37738,8 @@ export type Routes = {
37736
37738
  space_key: string
37737
37739
  /** Your unique identifier for the site. */
37738
37740
  parent_site_key?: string | undefined
37741
+ /** 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. */
37742
+ duration_minutes?: number | undefined
37739
37743
  }[]
37740
37744
  | undefined
37741
37745
  /** List of general sites or areas. */
@@ -105317,6 +105321,8 @@ export type Routes = {
105317
105321
  space_key: string
105318
105322
  /** Your unique identifier for the site. */
105319
105323
  parent_site_key?: string | undefined
105324
+ /** 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. */
105325
+ duration_minutes?: number | undefined
105320
105326
  }[]
105321
105327
  | undefined
105322
105328
  }
@@ -105390,6 +105396,8 @@ export type Routes = {
105390
105396
  space_key: string
105391
105397
  /** Your unique identifier for the site. */
105392
105398
  parent_site_key?: string | undefined
105399
+ /** 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. */
105400
+ duration_minutes?: number | undefined
105393
105401
  }[]
105394
105402
  | undefined
105395
105403
  }