@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
|
@@ -28041,6 +28041,11 @@ const openapi: OpenAPISpec = {
|
|
|
28041
28041
|
customer_data: {
|
|
28042
28042
|
description: 'Reservation/stay-related defaults for the space.',
|
|
28043
28043
|
properties: {
|
|
28044
|
+
address: {
|
|
28045
|
+
description: 'Postal address for the space.',
|
|
28046
|
+
nullable: true,
|
|
28047
|
+
type: 'string',
|
|
28048
|
+
},
|
|
28044
28049
|
default_checkin_time: {
|
|
28045
28050
|
description:
|
|
28046
28051
|
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
@@ -28077,6 +28082,25 @@ const openapi: OpenAPISpec = {
|
|
|
28077
28082
|
description: 'Display name for the space.',
|
|
28078
28083
|
type: 'string',
|
|
28079
28084
|
},
|
|
28085
|
+
geolocation: {
|
|
28086
|
+
description:
|
|
28087
|
+
'Geographic coordinates (latitude and longitude) of the space.',
|
|
28088
|
+
nullable: true,
|
|
28089
|
+
properties: {
|
|
28090
|
+
latitude: {
|
|
28091
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
28092
|
+
format: 'float',
|
|
28093
|
+
type: 'number',
|
|
28094
|
+
},
|
|
28095
|
+
longitude: {
|
|
28096
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
28097
|
+
format: 'float',
|
|
28098
|
+
type: 'number',
|
|
28099
|
+
},
|
|
28100
|
+
},
|
|
28101
|
+
required: ['latitude', 'longitude'],
|
|
28102
|
+
type: 'object',
|
|
28103
|
+
},
|
|
28080
28104
|
name: { description: 'Name of the space.', type: 'string' },
|
|
28081
28105
|
parent_space_id: {
|
|
28082
28106
|
format: 'uuid',
|
|
@@ -52297,6 +52321,7 @@ const openapi: OpenAPISpec = {
|
|
|
52297
52321
|
'yale_access',
|
|
52298
52322
|
'hid_cm',
|
|
52299
52323
|
'google_nest',
|
|
52324
|
+
'slack',
|
|
52300
52325
|
],
|
|
52301
52326
|
type: 'string',
|
|
52302
52327
|
},
|
|
@@ -54557,6 +54582,41 @@ const openapi: OpenAPISpec = {
|
|
|
54557
54582
|
description: 'List of general spaces or areas.',
|
|
54558
54583
|
items: {
|
|
54559
54584
|
properties: {
|
|
54585
|
+
customer_data: {
|
|
54586
|
+
description:
|
|
54587
|
+
'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
54588
|
+
properties: {
|
|
54589
|
+
address: {
|
|
54590
|
+
description:
|
|
54591
|
+
'Postal address for the space.',
|
|
54592
|
+
nullable: true,
|
|
54593
|
+
type: 'string',
|
|
54594
|
+
},
|
|
54595
|
+
default_checkin_time: {
|
|
54596
|
+
description:
|
|
54597
|
+
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
54598
|
+
nullable: true,
|
|
54599
|
+
pattern:
|
|
54600
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
54601
|
+
type: 'string',
|
|
54602
|
+
},
|
|
54603
|
+
default_checkout_time: {
|
|
54604
|
+
description:
|
|
54605
|
+
'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
54606
|
+
nullable: true,
|
|
54607
|
+
pattern:
|
|
54608
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
54609
|
+
type: 'string',
|
|
54610
|
+
},
|
|
54611
|
+
time_zone: {
|
|
54612
|
+
description:
|
|
54613
|
+
'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
54614
|
+
nullable: true,
|
|
54615
|
+
type: 'string',
|
|
54616
|
+
},
|
|
54617
|
+
},
|
|
54618
|
+
type: 'object',
|
|
54619
|
+
},
|
|
54560
54620
|
duration_minutes: {
|
|
54561
54621
|
description:
|
|
54562
54622
|
'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.',
|
|
@@ -54564,6 +54624,26 @@ const openapi: OpenAPISpec = {
|
|
|
54564
54624
|
minimum: 0,
|
|
54565
54625
|
type: 'integer',
|
|
54566
54626
|
},
|
|
54627
|
+
geolocation: {
|
|
54628
|
+
description:
|
|
54629
|
+
'Geographic coordinates (latitude and longitude) of the space.',
|
|
54630
|
+
properties: {
|
|
54631
|
+
latitude: {
|
|
54632
|
+
description:
|
|
54633
|
+
'Latitude of the space, in decimal degrees.',
|
|
54634
|
+
format: 'float',
|
|
54635
|
+
type: 'number',
|
|
54636
|
+
},
|
|
54637
|
+
longitude: {
|
|
54638
|
+
description:
|
|
54639
|
+
'Longitude of the space, in decimal degrees.',
|
|
54640
|
+
format: 'float',
|
|
54641
|
+
type: 'number',
|
|
54642
|
+
},
|
|
54643
|
+
},
|
|
54644
|
+
required: ['latitude', 'longitude'],
|
|
54645
|
+
type: 'object',
|
|
54646
|
+
},
|
|
54567
54647
|
name: {
|
|
54568
54648
|
description:
|
|
54569
54649
|
'Your display name for this location resource.',
|
|
@@ -55810,6 +55890,40 @@ const openapi: OpenAPISpec = {
|
|
|
55810
55890
|
description: 'List of general spaces or areas.',
|
|
55811
55891
|
items: {
|
|
55812
55892
|
properties: {
|
|
55893
|
+
customer_data: {
|
|
55894
|
+
description:
|
|
55895
|
+
'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
55896
|
+
properties: {
|
|
55897
|
+
address: {
|
|
55898
|
+
description: 'Postal address for the space.',
|
|
55899
|
+
nullable: true,
|
|
55900
|
+
type: 'string',
|
|
55901
|
+
},
|
|
55902
|
+
default_checkin_time: {
|
|
55903
|
+
description:
|
|
55904
|
+
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
55905
|
+
nullable: true,
|
|
55906
|
+
pattern:
|
|
55907
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
55908
|
+
type: 'string',
|
|
55909
|
+
},
|
|
55910
|
+
default_checkout_time: {
|
|
55911
|
+
description:
|
|
55912
|
+
'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
55913
|
+
nullable: true,
|
|
55914
|
+
pattern:
|
|
55915
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
55916
|
+
type: 'string',
|
|
55917
|
+
},
|
|
55918
|
+
time_zone: {
|
|
55919
|
+
description:
|
|
55920
|
+
'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
55921
|
+
nullable: true,
|
|
55922
|
+
type: 'string',
|
|
55923
|
+
},
|
|
55924
|
+
},
|
|
55925
|
+
type: 'object',
|
|
55926
|
+
},
|
|
55813
55927
|
duration_minutes: {
|
|
55814
55928
|
description:
|
|
55815
55929
|
'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.',
|
|
@@ -55817,6 +55931,26 @@ const openapi: OpenAPISpec = {
|
|
|
55817
55931
|
minimum: 0,
|
|
55818
55932
|
type: 'integer',
|
|
55819
55933
|
},
|
|
55934
|
+
geolocation: {
|
|
55935
|
+
description:
|
|
55936
|
+
'Geographic coordinates (latitude and longitude) of the space.',
|
|
55937
|
+
properties: {
|
|
55938
|
+
latitude: {
|
|
55939
|
+
description:
|
|
55940
|
+
'Latitude of the space, in decimal degrees.',
|
|
55941
|
+
format: 'float',
|
|
55942
|
+
type: 'number',
|
|
55943
|
+
},
|
|
55944
|
+
longitude: {
|
|
55945
|
+
description:
|
|
55946
|
+
'Longitude of the space, in decimal degrees.',
|
|
55947
|
+
format: 'float',
|
|
55948
|
+
type: 'number',
|
|
55949
|
+
},
|
|
55950
|
+
},
|
|
55951
|
+
required: ['latitude', 'longitude'],
|
|
55952
|
+
type: 'object',
|
|
55953
|
+
},
|
|
55820
55954
|
name: {
|
|
55821
55955
|
description:
|
|
55822
55956
|
'Your display name for this location resource.',
|
|
@@ -75634,6 +75768,11 @@ const openapi: OpenAPISpec = {
|
|
|
75634
75768
|
description:
|
|
75635
75769
|
"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.",
|
|
75636
75770
|
properties: {
|
|
75771
|
+
address: {
|
|
75772
|
+
description: 'Postal address for the space.',
|
|
75773
|
+
nullable: true,
|
|
75774
|
+
type: 'string',
|
|
75775
|
+
},
|
|
75637
75776
|
default_checkin_time: {
|
|
75638
75777
|
description:
|
|
75639
75778
|
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
@@ -77882,6 +78021,11 @@ const openapi: OpenAPISpec = {
|
|
|
77882
78021
|
description:
|
|
77883
78022
|
'Reservation/stay-related defaults for the space.',
|
|
77884
78023
|
properties: {
|
|
78024
|
+
address: {
|
|
78025
|
+
description: 'Postal address for the space.',
|
|
78026
|
+
nullable: true,
|
|
78027
|
+
type: 'string',
|
|
78028
|
+
},
|
|
77885
78029
|
default_checkin_time: {
|
|
77886
78030
|
description:
|
|
77887
78031
|
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
@@ -79024,6 +79168,11 @@ const openapi: OpenAPISpec = {
|
|
|
79024
79168
|
description:
|
|
79025
79169
|
'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.',
|
|
79026
79170
|
properties: {
|
|
79171
|
+
address: {
|
|
79172
|
+
description: 'Postal address for the space.',
|
|
79173
|
+
nullable: true,
|
|
79174
|
+
type: 'string',
|
|
79175
|
+
},
|
|
79027
79176
|
default_checkin_time: {
|
|
79028
79177
|
description:
|
|
79029
79178
|
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
@@ -79134,6 +79283,11 @@ const openapi: OpenAPISpec = {
|
|
|
79134
79283
|
description:
|
|
79135
79284
|
'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.',
|
|
79136
79285
|
properties: {
|
|
79286
|
+
address: {
|
|
79287
|
+
description: 'Postal address for the space.',
|
|
79288
|
+
nullable: true,
|
|
79289
|
+
type: 'string',
|
|
79290
|
+
},
|
|
79137
79291
|
default_checkin_time: {
|
|
79138
79292
|
description:
|
|
79139
79293
|
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
@@ -82677,6 +82831,38 @@ const openapi: OpenAPISpec = {
|
|
|
82677
82831
|
'Optional list of spaces that you want to include in the new building block magic link.',
|
|
82678
82832
|
items: {
|
|
82679
82833
|
properties: {
|
|
82834
|
+
customer_data: {
|
|
82835
|
+
description:
|
|
82836
|
+
'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
82837
|
+
properties: {
|
|
82838
|
+
address: {
|
|
82839
|
+
description: 'Postal address for the space.',
|
|
82840
|
+
nullable: true,
|
|
82841
|
+
type: 'string',
|
|
82842
|
+
},
|
|
82843
|
+
default_checkin_time: {
|
|
82844
|
+
description:
|
|
82845
|
+
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
82846
|
+
nullable: true,
|
|
82847
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
82848
|
+
type: 'string',
|
|
82849
|
+
},
|
|
82850
|
+
default_checkout_time: {
|
|
82851
|
+
description:
|
|
82852
|
+
'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
82853
|
+
nullable: true,
|
|
82854
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
82855
|
+
type: 'string',
|
|
82856
|
+
},
|
|
82857
|
+
time_zone: {
|
|
82858
|
+
description:
|
|
82859
|
+
'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
82860
|
+
nullable: true,
|
|
82861
|
+
type: 'string',
|
|
82862
|
+
},
|
|
82863
|
+
},
|
|
82864
|
+
type: 'object',
|
|
82865
|
+
},
|
|
82680
82866
|
duration_minutes: {
|
|
82681
82867
|
description:
|
|
82682
82868
|
'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.',
|
|
@@ -82684,6 +82870,26 @@ const openapi: OpenAPISpec = {
|
|
|
82684
82870
|
minimum: 0,
|
|
82685
82871
|
type: 'integer',
|
|
82686
82872
|
},
|
|
82873
|
+
geolocation: {
|
|
82874
|
+
description:
|
|
82875
|
+
'Geographic coordinates (latitude and longitude) of the space.',
|
|
82876
|
+
properties: {
|
|
82877
|
+
latitude: {
|
|
82878
|
+
description:
|
|
82879
|
+
'Latitude of the space, in decimal degrees.',
|
|
82880
|
+
format: 'float',
|
|
82881
|
+
type: 'number',
|
|
82882
|
+
},
|
|
82883
|
+
longitude: {
|
|
82884
|
+
description:
|
|
82885
|
+
'Longitude of the space, in decimal degrees.',
|
|
82886
|
+
format: 'float',
|
|
82887
|
+
type: 'number',
|
|
82888
|
+
},
|
|
82889
|
+
},
|
|
82890
|
+
required: ['latitude', 'longitude'],
|
|
82891
|
+
type: 'object',
|
|
82892
|
+
},
|
|
82687
82893
|
name: {
|
|
82688
82894
|
description:
|
|
82689
82895
|
'Your display name for this location resource.',
|
|
@@ -82770,6 +82976,40 @@ const openapi: OpenAPISpec = {
|
|
|
82770
82976
|
'Optional list of spaces that you want to include in the new building block magic link.',
|
|
82771
82977
|
items: {
|
|
82772
82978
|
properties: {
|
|
82979
|
+
customer_data: {
|
|
82980
|
+
description:
|
|
82981
|
+
'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
82982
|
+
properties: {
|
|
82983
|
+
address: {
|
|
82984
|
+
description: 'Postal address for the space.',
|
|
82985
|
+
nullable: true,
|
|
82986
|
+
type: 'string',
|
|
82987
|
+
},
|
|
82988
|
+
default_checkin_time: {
|
|
82989
|
+
description:
|
|
82990
|
+
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
82991
|
+
nullable: true,
|
|
82992
|
+
pattern:
|
|
82993
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
82994
|
+
type: 'string',
|
|
82995
|
+
},
|
|
82996
|
+
default_checkout_time: {
|
|
82997
|
+
description:
|
|
82998
|
+
'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
82999
|
+
nullable: true,
|
|
83000
|
+
pattern:
|
|
83001
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
83002
|
+
type: 'string',
|
|
83003
|
+
},
|
|
83004
|
+
time_zone: {
|
|
83005
|
+
description:
|
|
83006
|
+
'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
83007
|
+
nullable: true,
|
|
83008
|
+
type: 'string',
|
|
83009
|
+
},
|
|
83010
|
+
},
|
|
83011
|
+
type: 'object',
|
|
83012
|
+
},
|
|
82773
83013
|
duration_minutes: {
|
|
82774
83014
|
description:
|
|
82775
83015
|
'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.',
|
|
@@ -82777,6 +83017,26 @@ const openapi: OpenAPISpec = {
|
|
|
82777
83017
|
minimum: 0,
|
|
82778
83018
|
type: 'integer',
|
|
82779
83019
|
},
|
|
83020
|
+
geolocation: {
|
|
83021
|
+
description:
|
|
83022
|
+
'Geographic coordinates (latitude and longitude) of the space.',
|
|
83023
|
+
properties: {
|
|
83024
|
+
latitude: {
|
|
83025
|
+
description:
|
|
83026
|
+
'Latitude of the space, in decimal degrees.',
|
|
83027
|
+
format: 'float',
|
|
83028
|
+
type: 'number',
|
|
83029
|
+
},
|
|
83030
|
+
longitude: {
|
|
83031
|
+
description:
|
|
83032
|
+
'Longitude of the space, in decimal degrees.',
|
|
83033
|
+
format: 'float',
|
|
83034
|
+
type: 'number',
|
|
83035
|
+
},
|
|
83036
|
+
},
|
|
83037
|
+
required: ['latitude', 'longitude'],
|
|
83038
|
+
type: 'object',
|
|
83039
|
+
},
|
|
82780
83040
|
name: {
|
|
82781
83041
|
description:
|
|
82782
83042
|
'Your display name for this location resource.',
|
|
@@ -82917,6 +83177,40 @@ const openapi: OpenAPISpec = {
|
|
|
82917
83177
|
'Optional list of spaces that you want to include in the new building block magic link.',
|
|
82918
83178
|
items: {
|
|
82919
83179
|
properties: {
|
|
83180
|
+
customer_data: {
|
|
83181
|
+
description:
|
|
83182
|
+
'Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).',
|
|
83183
|
+
properties: {
|
|
83184
|
+
address: {
|
|
83185
|
+
description: 'Postal address for the space.',
|
|
83186
|
+
nullable: true,
|
|
83187
|
+
type: 'string',
|
|
83188
|
+
},
|
|
83189
|
+
default_checkin_time: {
|
|
83190
|
+
description:
|
|
83191
|
+
'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
83192
|
+
nullable: true,
|
|
83193
|
+
pattern:
|
|
83194
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
83195
|
+
type: 'string',
|
|
83196
|
+
},
|
|
83197
|
+
default_checkout_time: {
|
|
83198
|
+
description:
|
|
83199
|
+
'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
83200
|
+
nullable: true,
|
|
83201
|
+
pattern:
|
|
83202
|
+
'^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
83203
|
+
type: 'string',
|
|
83204
|
+
},
|
|
83205
|
+
time_zone: {
|
|
83206
|
+
description:
|
|
83207
|
+
'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
83208
|
+
nullable: true,
|
|
83209
|
+
type: 'string',
|
|
83210
|
+
},
|
|
83211
|
+
},
|
|
83212
|
+
type: 'object',
|
|
83213
|
+
},
|
|
82920
83214
|
duration_minutes: {
|
|
82921
83215
|
description:
|
|
82922
83216
|
'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.',
|
|
@@ -82924,6 +83218,26 @@ const openapi: OpenAPISpec = {
|
|
|
82924
83218
|
minimum: 0,
|
|
82925
83219
|
type: 'integer',
|
|
82926
83220
|
},
|
|
83221
|
+
geolocation: {
|
|
83222
|
+
description:
|
|
83223
|
+
'Geographic coordinates (latitude and longitude) of the space.',
|
|
83224
|
+
properties: {
|
|
83225
|
+
latitude: {
|
|
83226
|
+
description:
|
|
83227
|
+
'Latitude of the space, in decimal degrees.',
|
|
83228
|
+
format: 'float',
|
|
83229
|
+
type: 'number',
|
|
83230
|
+
},
|
|
83231
|
+
longitude: {
|
|
83232
|
+
description:
|
|
83233
|
+
'Longitude of the space, in decimal degrees.',
|
|
83234
|
+
format: 'float',
|
|
83235
|
+
type: 'number',
|
|
83236
|
+
},
|
|
83237
|
+
},
|
|
83238
|
+
required: ['latitude', 'longitude'],
|
|
83239
|
+
type: 'object',
|
|
83240
|
+
},
|
|
82927
83241
|
name: {
|
|
82928
83242
|
description:
|
|
82929
83243
|
'Your display name for this location resource.',
|