@seamapi/types 1.898.0 → 1.900.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 +277 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +228 -10
- package/dist/index.cjs +277 -2
- 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 +269 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +205 -10
- 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 +314 -0
- package/src/lib/seam/connect/route-types.ts +238 -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',
|
|
@@ -47320,6 +47343,7 @@ const openapi = {
|
|
|
47320
47343
|
'yale_access',
|
|
47321
47344
|
'hid_cm',
|
|
47322
47345
|
'google_nest',
|
|
47346
|
+
'slack',
|
|
47323
47347
|
],
|
|
47324
47348
|
type: 'string',
|
|
47325
47349
|
},
|
|
@@ -49392,12 +49416,57 @@ const openapi = {
|
|
|
49392
49416
|
description: 'List of general spaces or areas.',
|
|
49393
49417
|
items: {
|
|
49394
49418
|
properties: {
|
|
49419
|
+
customer_data: {
|
|
49420
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
49421
|
+
properties: {
|
|
49422
|
+
address: {
|
|
49423
|
+
description: 'Postal address for the space.',
|
|
49424
|
+
nullable: true,
|
|
49425
|
+
type: 'string',
|
|
49426
|
+
},
|
|
49427
|
+
default_checkin_time: {
|
|
49428
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
49429
|
+
nullable: true,
|
|
49430
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
49431
|
+
type: 'string',
|
|
49432
|
+
},
|
|
49433
|
+
default_checkout_time: {
|
|
49434
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
49435
|
+
nullable: true,
|
|
49436
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
49437
|
+
type: 'string',
|
|
49438
|
+
},
|
|
49439
|
+
time_zone: {
|
|
49440
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
49441
|
+
nullable: true,
|
|
49442
|
+
type: 'string',
|
|
49443
|
+
},
|
|
49444
|
+
},
|
|
49445
|
+
type: 'object',
|
|
49446
|
+
},
|
|
49395
49447
|
duration_minutes: {
|
|
49396
49448
|
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
49449
|
exclusiveMinimum: true,
|
|
49398
49450
|
minimum: 0,
|
|
49399
49451
|
type: 'integer',
|
|
49400
49452
|
},
|
|
49453
|
+
geolocation: {
|
|
49454
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
49455
|
+
properties: {
|
|
49456
|
+
latitude: {
|
|
49457
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
49458
|
+
format: 'float',
|
|
49459
|
+
type: 'number',
|
|
49460
|
+
},
|
|
49461
|
+
longitude: {
|
|
49462
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
49463
|
+
format: 'float',
|
|
49464
|
+
type: 'number',
|
|
49465
|
+
},
|
|
49466
|
+
},
|
|
49467
|
+
required: ['latitude', 'longitude'],
|
|
49468
|
+
type: 'object',
|
|
49469
|
+
},
|
|
49401
49470
|
name: {
|
|
49402
49471
|
description: 'Your display name for this location resource.',
|
|
49403
49472
|
type: 'string',
|
|
@@ -50528,12 +50597,57 @@ const openapi = {
|
|
|
50528
50597
|
description: 'List of general spaces or areas.',
|
|
50529
50598
|
items: {
|
|
50530
50599
|
properties: {
|
|
50600
|
+
customer_data: {
|
|
50601
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
50602
|
+
properties: {
|
|
50603
|
+
address: {
|
|
50604
|
+
description: 'Postal address for the space.',
|
|
50605
|
+
nullable: true,
|
|
50606
|
+
type: 'string',
|
|
50607
|
+
},
|
|
50608
|
+
default_checkin_time: {
|
|
50609
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
50610
|
+
nullable: true,
|
|
50611
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
50612
|
+
type: 'string',
|
|
50613
|
+
},
|
|
50614
|
+
default_checkout_time: {
|
|
50615
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
50616
|
+
nullable: true,
|
|
50617
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
50618
|
+
type: 'string',
|
|
50619
|
+
},
|
|
50620
|
+
time_zone: {
|
|
50621
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
50622
|
+
nullable: true,
|
|
50623
|
+
type: 'string',
|
|
50624
|
+
},
|
|
50625
|
+
},
|
|
50626
|
+
type: 'object',
|
|
50627
|
+
},
|
|
50531
50628
|
duration_minutes: {
|
|
50532
50629
|
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
50630
|
exclusiveMinimum: true,
|
|
50534
50631
|
minimum: 0,
|
|
50535
50632
|
type: 'integer',
|
|
50536
50633
|
},
|
|
50634
|
+
geolocation: {
|
|
50635
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
50636
|
+
properties: {
|
|
50637
|
+
latitude: {
|
|
50638
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
50639
|
+
format: 'float',
|
|
50640
|
+
type: 'number',
|
|
50641
|
+
},
|
|
50642
|
+
longitude: {
|
|
50643
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
50644
|
+
format: 'float',
|
|
50645
|
+
type: 'number',
|
|
50646
|
+
},
|
|
50647
|
+
},
|
|
50648
|
+
required: ['latitude', 'longitude'],
|
|
50649
|
+
type: 'object',
|
|
50650
|
+
},
|
|
50537
50651
|
name: {
|
|
50538
50652
|
description: 'Your display name for this location resource.',
|
|
50539
50653
|
type: 'string',
|
|
@@ -69639,6 +69753,11 @@ const openapi = {
|
|
|
69639
69753
|
customer_data: {
|
|
69640
69754
|
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
69755
|
properties: {
|
|
69756
|
+
address: {
|
|
69757
|
+
description: 'Postal address for the space.',
|
|
69758
|
+
nullable: true,
|
|
69759
|
+
type: 'string',
|
|
69760
|
+
},
|
|
69642
69761
|
default_checkin_time: {
|
|
69643
69762
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
69644
69763
|
nullable: true,
|
|
@@ -71803,6 +71922,11 @@ const openapi = {
|
|
|
71803
71922
|
customer_data: {
|
|
71804
71923
|
description: 'Reservation/stay-related defaults for the space.',
|
|
71805
71924
|
properties: {
|
|
71925
|
+
address: {
|
|
71926
|
+
description: 'Postal address for the space.',
|
|
71927
|
+
nullable: true,
|
|
71928
|
+
type: 'string',
|
|
71929
|
+
},
|
|
71806
71930
|
default_checkin_time: {
|
|
71807
71931
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
71808
71932
|
nullable: true,
|
|
@@ -72904,6 +73028,11 @@ const openapi = {
|
|
|
72904
73028
|
customer_data: {
|
|
72905
73029
|
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
73030
|
properties: {
|
|
73031
|
+
address: {
|
|
73032
|
+
description: 'Postal address for the space.',
|
|
73033
|
+
nullable: true,
|
|
73034
|
+
type: 'string',
|
|
73035
|
+
},
|
|
72907
73036
|
default_checkin_time: {
|
|
72908
73037
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
72909
73038
|
nullable: true,
|
|
@@ -73005,6 +73134,11 @@ const openapi = {
|
|
|
73005
73134
|
customer_data: {
|
|
73006
73135
|
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.',
|
|
73007
73136
|
properties: {
|
|
73137
|
+
address: {
|
|
73138
|
+
description: 'Postal address for the space.',
|
|
73139
|
+
nullable: true,
|
|
73140
|
+
type: 'string',
|
|
73141
|
+
},
|
|
73008
73142
|
default_checkin_time: {
|
|
73009
73143
|
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
73010
73144
|
nullable: true,
|
|
@@ -76310,12 +76444,57 @@ const openapi = {
|
|
|
76310
76444
|
description: 'Optional list of spaces that you want to include in the new building block magic link.',
|
|
76311
76445
|
items: {
|
|
76312
76446
|
properties: {
|
|
76447
|
+
customer_data: {
|
|
76448
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
76449
|
+
properties: {
|
|
76450
|
+
address: {
|
|
76451
|
+
description: 'Postal address for the space.',
|
|
76452
|
+
nullable: true,
|
|
76453
|
+
type: 'string',
|
|
76454
|
+
},
|
|
76455
|
+
default_checkin_time: {
|
|
76456
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76457
|
+
nullable: true,
|
|
76458
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76459
|
+
type: 'string',
|
|
76460
|
+
},
|
|
76461
|
+
default_checkout_time: {
|
|
76462
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76463
|
+
nullable: true,
|
|
76464
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76465
|
+
type: 'string',
|
|
76466
|
+
},
|
|
76467
|
+
time_zone: {
|
|
76468
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
76469
|
+
nullable: true,
|
|
76470
|
+
type: 'string',
|
|
76471
|
+
},
|
|
76472
|
+
},
|
|
76473
|
+
type: 'object',
|
|
76474
|
+
},
|
|
76313
76475
|
duration_minutes: {
|
|
76314
76476
|
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.',
|
|
76315
76477
|
exclusiveMinimum: true,
|
|
76316
76478
|
minimum: 0,
|
|
76317
76479
|
type: 'integer',
|
|
76318
76480
|
},
|
|
76481
|
+
geolocation: {
|
|
76482
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
76483
|
+
properties: {
|
|
76484
|
+
latitude: {
|
|
76485
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
76486
|
+
format: 'float',
|
|
76487
|
+
type: 'number',
|
|
76488
|
+
},
|
|
76489
|
+
longitude: {
|
|
76490
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
76491
|
+
format: 'float',
|
|
76492
|
+
type: 'number',
|
|
76493
|
+
},
|
|
76494
|
+
},
|
|
76495
|
+
required: ['latitude', 'longitude'],
|
|
76496
|
+
type: 'object',
|
|
76497
|
+
},
|
|
76319
76498
|
name: {
|
|
76320
76499
|
description: 'Your display name for this location resource.',
|
|
76321
76500
|
type: 'string',
|
|
@@ -76398,12 +76577,57 @@ const openapi = {
|
|
|
76398
76577
|
description: 'Optional list of spaces that you want to include in the new building block magic link.',
|
|
76399
76578
|
items: {
|
|
76400
76579
|
properties: {
|
|
76580
|
+
customer_data: {
|
|
76581
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
76582
|
+
properties: {
|
|
76583
|
+
address: {
|
|
76584
|
+
description: 'Postal address for the space.',
|
|
76585
|
+
nullable: true,
|
|
76586
|
+
type: 'string',
|
|
76587
|
+
},
|
|
76588
|
+
default_checkin_time: {
|
|
76589
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76590
|
+
nullable: true,
|
|
76591
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76592
|
+
type: 'string',
|
|
76593
|
+
},
|
|
76594
|
+
default_checkout_time: {
|
|
76595
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76596
|
+
nullable: true,
|
|
76597
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76598
|
+
type: 'string',
|
|
76599
|
+
},
|
|
76600
|
+
time_zone: {
|
|
76601
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
76602
|
+
nullable: true,
|
|
76603
|
+
type: 'string',
|
|
76604
|
+
},
|
|
76605
|
+
},
|
|
76606
|
+
type: 'object',
|
|
76607
|
+
},
|
|
76401
76608
|
duration_minutes: {
|
|
76402
76609
|
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.',
|
|
76403
76610
|
exclusiveMinimum: true,
|
|
76404
76611
|
minimum: 0,
|
|
76405
76612
|
type: 'integer',
|
|
76406
76613
|
},
|
|
76614
|
+
geolocation: {
|
|
76615
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
76616
|
+
properties: {
|
|
76617
|
+
latitude: {
|
|
76618
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
76619
|
+
format: 'float',
|
|
76620
|
+
type: 'number',
|
|
76621
|
+
},
|
|
76622
|
+
longitude: {
|
|
76623
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
76624
|
+
format: 'float',
|
|
76625
|
+
type: 'number',
|
|
76626
|
+
},
|
|
76627
|
+
},
|
|
76628
|
+
required: ['latitude', 'longitude'],
|
|
76629
|
+
type: 'object',
|
|
76630
|
+
},
|
|
76407
76631
|
name: {
|
|
76408
76632
|
description: 'Your display name for this location resource.',
|
|
76409
76633
|
type: 'string',
|
|
@@ -76538,12 +76762,57 @@ const openapi = {
|
|
|
76538
76762
|
description: 'Optional list of spaces that you want to include in the new building block magic link.',
|
|
76539
76763
|
items: {
|
|
76540
76764
|
properties: {
|
|
76765
|
+
customer_data: {
|
|
76766
|
+
description: 'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
76767
|
+
properties: {
|
|
76768
|
+
address: {
|
|
76769
|
+
description: 'Postal address for the space.',
|
|
76770
|
+
nullable: true,
|
|
76771
|
+
type: 'string',
|
|
76772
|
+
},
|
|
76773
|
+
default_checkin_time: {
|
|
76774
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76775
|
+
nullable: true,
|
|
76776
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76777
|
+
type: 'string',
|
|
76778
|
+
},
|
|
76779
|
+
default_checkout_time: {
|
|
76780
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
76781
|
+
nullable: true,
|
|
76782
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
76783
|
+
type: 'string',
|
|
76784
|
+
},
|
|
76785
|
+
time_zone: {
|
|
76786
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
76787
|
+
nullable: true,
|
|
76788
|
+
type: 'string',
|
|
76789
|
+
},
|
|
76790
|
+
},
|
|
76791
|
+
type: 'object',
|
|
76792
|
+
},
|
|
76541
76793
|
duration_minutes: {
|
|
76542
76794
|
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.',
|
|
76543
76795
|
exclusiveMinimum: true,
|
|
76544
76796
|
minimum: 0,
|
|
76545
76797
|
type: 'integer',
|
|
76546
76798
|
},
|
|
76799
|
+
geolocation: {
|
|
76800
|
+
description: 'Geographic coordinates (latitude and longitude) of the space.',
|
|
76801
|
+
properties: {
|
|
76802
|
+
latitude: {
|
|
76803
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
76804
|
+
format: 'float',
|
|
76805
|
+
type: 'number',
|
|
76806
|
+
},
|
|
76807
|
+
longitude: {
|
|
76808
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
76809
|
+
format: 'float',
|
|
76810
|
+
type: 'number',
|
|
76811
|
+
},
|
|
76812
|
+
},
|
|
76813
|
+
required: ['latitude', 'longitude'],
|
|
76814
|
+
type: 'object',
|
|
76815
|
+
},
|
|
76547
76816
|
name: {
|
|
76548
76817
|
description: 'Your display name for this location resource.',
|
|
76549
76818
|
type: 'string',
|