@seamapi/types 1.897.0 → 1.899.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.
- package/dist/connect.cjs +297 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +231 -9
- package/dist/index.cjs +297 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +132 -0
- package/lib/seam/connect/models/customer/location-resources.d.ts +92 -0
- package/lib/seam/connect/models/customer/location-resources.js +7 -0
- package/lib/seam/connect/models/customer/location-resources.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +36 -0
- package/lib/seam/connect/models/spaces/space.js +12 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.js +290 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +208 -9
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/location-resources.ts +9 -0
- package/src/lib/seam/connect/models/spaces/space.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +339 -0
- package/src/lib/seam/connect/route-types.ts +241 -0
|
@@ -25123,6 +25123,11 @@ const openapi = {
|
|
|
25123
25123
|
customer_data: {
|
|
25124
25124
|
description: 'Reservation/stay-related defaults for the space.',
|
|
25125
25125
|
properties: {
|
|
25126
|
+
address: {
|
|
25127
|
+
description: 'Postal address for the space.',
|
|
25128
|
+
nullable: true,
|
|
25129
|
+
type: 'string',
|
|
25130
|
+
},
|
|
25126
25131
|
default_checkin_time: {
|
|
25127
25132
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
25128
25133
|
nullable: true,
|
|
@@ -25156,6 +25161,24 @@ const openapi = {
|
|
|
25156
25161
|
description: 'Display name for the space.',
|
|
25157
25162
|
type: 'string',
|
|
25158
25163
|
},
|
|
25164
|
+
geolocation: {
|
|
25165
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
25166
|
+
nullable: true,
|
|
25167
|
+
properties: {
|
|
25168
|
+
latitude: {
|
|
25169
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
25170
|
+
format: 'float',
|
|
25171
|
+
type: 'number',
|
|
25172
|
+
},
|
|
25173
|
+
longitude: {
|
|
25174
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
25175
|
+
format: 'float',
|
|
25176
|
+
type: 'number',
|
|
25177
|
+
},
|
|
25178
|
+
},
|
|
25179
|
+
required: ['latitude', 'longitude'],
|
|
25180
|
+
type: 'object',
|
|
25181
|
+
},
|
|
25159
25182
|
name: { description: 'Name of the space.', type: 'string' },
|
|
25160
25183
|
parent_space_id: {
|
|
25161
25184
|
format: 'uuid',
|
|
@@ -49392,12 +49415,57 @@ const openapi = {
|
|
|
49392
49415
|
description: 'List of general spaces or areas.',
|
|
49393
49416
|
items: {
|
|
49394
49417
|
properties: {
|
|
49418
|
+
customer_data: {
|
|
49419
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
49420
|
+
properties: {
|
|
49421
|
+
address: {
|
|
49422
|
+
description: 'Postal address for the space.',
|
|
49423
|
+
nullable: true,
|
|
49424
|
+
type: 'string',
|
|
49425
|
+
},
|
|
49426
|
+
default_checkin_time: {
|
|
49427
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
49428
|
+
nullable: true,
|
|
49429
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
49430
|
+
type: 'string',
|
|
49431
|
+
},
|
|
49432
|
+
default_checkout_time: {
|
|
49433
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
49434
|
+
nullable: true,
|
|
49435
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
49436
|
+
type: 'string',
|
|
49437
|
+
},
|
|
49438
|
+
time_zone: {
|
|
49439
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
49440
|
+
nullable: true,
|
|
49441
|
+
type: 'string',
|
|
49442
|
+
},
|
|
49443
|
+
},
|
|
49444
|
+
type: 'object',
|
|
49445
|
+
},
|
|
49395
49446
|
duration_minutes: {
|
|
49396
49447
|
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.',
|
|
49397
49448
|
exclusiveMinimum: true,
|
|
49398
49449
|
minimum: 0,
|
|
49399
49450
|
type: 'integer',
|
|
49400
49451
|
},
|
|
49452
|
+
geolocation: {
|
|
49453
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
49454
|
+
properties: {
|
|
49455
|
+
latitude: {
|
|
49456
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
49457
|
+
format: 'float',
|
|
49458
|
+
type: 'number',
|
|
49459
|
+
},
|
|
49460
|
+
longitude: {
|
|
49461
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
49462
|
+
format: 'float',
|
|
49463
|
+
type: 'number',
|
|
49464
|
+
},
|
|
49465
|
+
},
|
|
49466
|
+
required: ['latitude', 'longitude'],
|
|
49467
|
+
type: 'object',
|
|
49468
|
+
},
|
|
49401
49469
|
name: {
|
|
49402
49470
|
description: 'Your display name for this location resource.',
|
|
49403
49471
|
type: 'string',
|
|
@@ -50528,12 +50596,57 @@ const openapi = {
|
|
|
50528
50596
|
description: 'List of general spaces or areas.',
|
|
50529
50597
|
items: {
|
|
50530
50598
|
properties: {
|
|
50599
|
+
customer_data: {
|
|
50600
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
50601
|
+
properties: {
|
|
50602
|
+
address: {
|
|
50603
|
+
description: 'Postal address for the space.',
|
|
50604
|
+
nullable: true,
|
|
50605
|
+
type: 'string',
|
|
50606
|
+
},
|
|
50607
|
+
default_checkin_time: {
|
|
50608
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
50609
|
+
nullable: true,
|
|
50610
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
50611
|
+
type: 'string',
|
|
50612
|
+
},
|
|
50613
|
+
default_checkout_time: {
|
|
50614
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
50615
|
+
nullable: true,
|
|
50616
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
50617
|
+
type: 'string',
|
|
50618
|
+
},
|
|
50619
|
+
time_zone: {
|
|
50620
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
50621
|
+
nullable: true,
|
|
50622
|
+
type: 'string',
|
|
50623
|
+
},
|
|
50624
|
+
},
|
|
50625
|
+
type: 'object',
|
|
50626
|
+
},
|
|
50531
50627
|
duration_minutes: {
|
|
50532
50628
|
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.',
|
|
50533
50629
|
exclusiveMinimum: true,
|
|
50534
50630
|
minimum: 0,
|
|
50535
50631
|
type: 'integer',
|
|
50536
50632
|
},
|
|
50633
|
+
geolocation: {
|
|
50634
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
50635
|
+
properties: {
|
|
50636
|
+
latitude: {
|
|
50637
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
50638
|
+
format: 'float',
|
|
50639
|
+
type: 'number',
|
|
50640
|
+
},
|
|
50641
|
+
longitude: {
|
|
50642
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
50643
|
+
format: 'float',
|
|
50644
|
+
type: 'number',
|
|
50645
|
+
},
|
|
50646
|
+
},
|
|
50647
|
+
required: ['latitude', 'longitude'],
|
|
50648
|
+
type: 'object',
|
|
50649
|
+
},
|
|
50537
50650
|
name: {
|
|
50538
50651
|
description: 'Your display name for this location resource.',
|
|
50539
50652
|
type: 'string',
|
|
@@ -69639,6 +69752,11 @@ const openapi = {
|
|
|
69639
69752
|
customer_data: {
|
|
69640
69753
|
description: "Reservation/stay-related defaults for the space. When omitted and `connected_account_ids` is provided, `default_checkin_time` / `default_checkout_time` / `time_zone` are auto-inherited from the first connected account's connector configuration.",
|
|
69641
69754
|
properties: {
|
|
69755
|
+
address: {
|
|
69756
|
+
description: 'Postal address for the space.',
|
|
69757
|
+
nullable: true,
|
|
69758
|
+
type: 'string',
|
|
69759
|
+
},
|
|
69642
69760
|
default_checkin_time: {
|
|
69643
69761
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
69644
69762
|
nullable: true,
|
|
@@ -71803,6 +71921,11 @@ const openapi = {
|
|
|
71803
71921
|
customer_data: {
|
|
71804
71922
|
description: 'Reservation/stay-related defaults for the space.',
|
|
71805
71923
|
properties: {
|
|
71924
|
+
address: {
|
|
71925
|
+
description: 'Postal address for the space.',
|
|
71926
|
+
nullable: true,
|
|
71927
|
+
type: 'string',
|
|
71928
|
+
},
|
|
71806
71929
|
default_checkin_time: {
|
|
71807
71930
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
71808
71931
|
nullable: true,
|
|
@@ -72904,6 +73027,11 @@ const openapi = {
|
|
|
72904
73027
|
customer_data: {
|
|
72905
73028
|
description: 'Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it.',
|
|
72906
73029
|
properties: {
|
|
73030
|
+
address: {
|
|
73031
|
+
description: 'Postal address for the space.',
|
|
73032
|
+
nullable: true,
|
|
73033
|
+
type: 'string',
|
|
73034
|
+
},
|
|
72907
73035
|
default_checkin_time: {
|
|
72908
73036
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
72909
73037
|
nullable: true,
|
|
@@ -72930,6 +73058,17 @@ const openapi = {
|
|
|
72930
73058
|
type: 'array',
|
|
72931
73059
|
},
|
|
72932
73060
|
name: { description: 'Name of the space.', type: 'string' },
|
|
73061
|
+
parent_space_id: {
|
|
73062
|
+
description: 'Reassign this space to the parent space (site) with this `parent_space_id`.',
|
|
73063
|
+
format: 'uuid',
|
|
73064
|
+
type: 'string',
|
|
73065
|
+
'x-undocumented': 'Only used internally.',
|
|
73066
|
+
},
|
|
73067
|
+
parent_space_key: {
|
|
73068
|
+
description: 'Reassign this space to the parent space (site) with this `parent_space_key`.',
|
|
73069
|
+
type: 'string',
|
|
73070
|
+
'x-undocumented': 'Only used internally.',
|
|
73071
|
+
},
|
|
72933
73072
|
space_id: {
|
|
72934
73073
|
description: 'ID of the space that you want to update.',
|
|
72935
73074
|
format: 'uuid',
|
|
@@ -72994,6 +73133,11 @@ const openapi = {
|
|
|
72994
73133
|
customer_data: {
|
|
72995
73134
|
description: 'Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it.',
|
|
72996
73135
|
properties: {
|
|
73136
|
+
address: {
|
|
73137
|
+
description: 'Postal address for the space.',
|
|
73138
|
+
nullable: true,
|
|
73139
|
+
type: 'string',
|
|
73140
|
+
},
|
|
72997
73141
|
default_checkin_time: {
|
|
72998
73142
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
72999
73143
|
nullable: true,
|
|
@@ -73020,6 +73164,17 @@ const openapi = {
|
|
|
73020
73164
|
type: 'array',
|
|
73021
73165
|
},
|
|
73022
73166
|
name: { description: 'Name of the space.', type: 'string' },
|
|
73167
|
+
parent_space_id: {
|
|
73168
|
+
description: 'Reassign this space to the parent space (site) with this `parent_space_id`.',
|
|
73169
|
+
format: 'uuid',
|
|
73170
|
+
type: 'string',
|
|
73171
|
+
'x-undocumented': 'Only used internally.',
|
|
73172
|
+
},
|
|
73173
|
+
parent_space_key: {
|
|
73174
|
+
description: 'Reassign this space to the parent space (site) with this `parent_space_key`.',
|
|
73175
|
+
type: 'string',
|
|
73176
|
+
'x-undocumented': 'Only used internally.',
|
|
73177
|
+
},
|
|
73023
73178
|
space_id: {
|
|
73024
73179
|
description: 'ID of the space that you want to update.',
|
|
73025
73180
|
format: 'uuid',
|
|
@@ -76288,12 +76443,57 @@ const openapi = {
|
|
|
76288
76443
|
description: 'Optional list of spaces that you want to include in the new building block magic link.',
|
|
76289
76444
|
items: {
|
|
76290
76445
|
properties: {
|
|
76446
|
+
customer_data: {
|
|
76447
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
76448
|
+
properties: {
|
|
76449
|
+
address: {
|
|
76450
|
+
description: 'Postal address for the space.',
|
|
76451
|
+
nullable: true,
|
|
76452
|
+
type: 'string',
|
|
76453
|
+
},
|
|
76454
|
+
default_checkin_time: {
|
|
76455
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76456
|
+
nullable: true,
|
|
76457
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76458
|
+
type: 'string',
|
|
76459
|
+
},
|
|
76460
|
+
default_checkout_time: {
|
|
76461
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76462
|
+
nullable: true,
|
|
76463
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76464
|
+
type: 'string',
|
|
76465
|
+
},
|
|
76466
|
+
time_zone: {
|
|
76467
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
76468
|
+
nullable: true,
|
|
76469
|
+
type: 'string',
|
|
76470
|
+
},
|
|
76471
|
+
},
|
|
76472
|
+
type: 'object',
|
|
76473
|
+
},
|
|
76291
76474
|
duration_minutes: {
|
|
76292
76475
|
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.',
|
|
76293
76476
|
exclusiveMinimum: true,
|
|
76294
76477
|
minimum: 0,
|
|
76295
76478
|
type: 'integer',
|
|
76296
76479
|
},
|
|
76480
|
+
geolocation: {
|
|
76481
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
76482
|
+
properties: {
|
|
76483
|
+
latitude: {
|
|
76484
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
76485
|
+
format: 'float',
|
|
76486
|
+
type: 'number',
|
|
76487
|
+
},
|
|
76488
|
+
longitude: {
|
|
76489
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
76490
|
+
format: 'float',
|
|
76491
|
+
type: 'number',
|
|
76492
|
+
},
|
|
76493
|
+
},
|
|
76494
|
+
required: ['latitude', 'longitude'],
|
|
76495
|
+
type: 'object',
|
|
76496
|
+
},
|
|
76297
76497
|
name: {
|
|
76298
76498
|
description: 'Your display name for this location resource.',
|
|
76299
76499
|
type: 'string',
|
|
@@ -76376,12 +76576,57 @@ const openapi = {
|
|
|
76376
76576
|
description: 'Optional list of spaces that you want to include in the new building block magic link.',
|
|
76377
76577
|
items: {
|
|
76378
76578
|
properties: {
|
|
76579
|
+
customer_data: {
|
|
76580
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
76581
|
+
properties: {
|
|
76582
|
+
address: {
|
|
76583
|
+
description: 'Postal address for the space.',
|
|
76584
|
+
nullable: true,
|
|
76585
|
+
type: 'string',
|
|
76586
|
+
},
|
|
76587
|
+
default_checkin_time: {
|
|
76588
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76589
|
+
nullable: true,
|
|
76590
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76591
|
+
type: 'string',
|
|
76592
|
+
},
|
|
76593
|
+
default_checkout_time: {
|
|
76594
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76595
|
+
nullable: true,
|
|
76596
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76597
|
+
type: 'string',
|
|
76598
|
+
},
|
|
76599
|
+
time_zone: {
|
|
76600
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
76601
|
+
nullable: true,
|
|
76602
|
+
type: 'string',
|
|
76603
|
+
},
|
|
76604
|
+
},
|
|
76605
|
+
type: 'object',
|
|
76606
|
+
},
|
|
76379
76607
|
duration_minutes: {
|
|
76380
76608
|
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.',
|
|
76381
76609
|
exclusiveMinimum: true,
|
|
76382
76610
|
minimum: 0,
|
|
76383
76611
|
type: 'integer',
|
|
76384
76612
|
},
|
|
76613
|
+
geolocation: {
|
|
76614
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
76615
|
+
properties: {
|
|
76616
|
+
latitude: {
|
|
76617
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
76618
|
+
format: 'float',
|
|
76619
|
+
type: 'number',
|
|
76620
|
+
},
|
|
76621
|
+
longitude: {
|
|
76622
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
76623
|
+
format: 'float',
|
|
76624
|
+
type: 'number',
|
|
76625
|
+
},
|
|
76626
|
+
},
|
|
76627
|
+
required: ['latitude', 'longitude'],
|
|
76628
|
+
type: 'object',
|
|
76629
|
+
},
|
|
76385
76630
|
name: {
|
|
76386
76631
|
description: 'Your display name for this location resource.',
|
|
76387
76632
|
type: 'string',
|
|
@@ -76516,12 +76761,57 @@ const openapi = {
|
|
|
76516
76761
|
description: 'Optional list of spaces that you want to include in the new building block magic link.',
|
|
76517
76762
|
items: {
|
|
76518
76763
|
properties: {
|
|
76764
|
+
customer_data: {
|
|
76765
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
76766
|
+
properties: {
|
|
76767
|
+
address: {
|
|
76768
|
+
description: 'Postal address for the space.',
|
|
76769
|
+
nullable: true,
|
|
76770
|
+
type: 'string',
|
|
76771
|
+
},
|
|
76772
|
+
default_checkin_time: {
|
|
76773
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76774
|
+
nullable: true,
|
|
76775
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76776
|
+
type: 'string',
|
|
76777
|
+
},
|
|
76778
|
+
default_checkout_time: {
|
|
76779
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76780
|
+
nullable: true,
|
|
76781
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76782
|
+
type: 'string',
|
|
76783
|
+
},
|
|
76784
|
+
time_zone: {
|
|
76785
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
76786
|
+
nullable: true,
|
|
76787
|
+
type: 'string',
|
|
76788
|
+
},
|
|
76789
|
+
},
|
|
76790
|
+
type: 'object',
|
|
76791
|
+
},
|
|
76519
76792
|
duration_minutes: {
|
|
76520
76793
|
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.',
|
|
76521
76794
|
exclusiveMinimum: true,
|
|
76522
76795
|
minimum: 0,
|
|
76523
76796
|
type: 'integer',
|
|
76524
76797
|
},
|
|
76798
|
+
geolocation: {
|
|
76799
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
76800
|
+
properties: {
|
|
76801
|
+
latitude: {
|
|
76802
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
76803
|
+
format: 'float',
|
|
76804
|
+
type: 'number',
|
|
76805
|
+
},
|
|
76806
|
+
longitude: {
|
|
76807
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
76808
|
+
format: 'float',
|
|
76809
|
+
type: 'number',
|
|
76810
|
+
},
|
|
76811
|
+
},
|
|
76812
|
+
required: ['latitude', 'longitude'],
|
|
76813
|
+
type: 'object',
|
|
76814
|
+
},
|
|
76525
76815
|
name: {
|
|
76526
76816
|
description: 'Your display name for this location resource.',
|
|
76527
76817
|
type: 'string',
|