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