@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
package/dist/index.cjs
CHANGED
|
@@ -6915,8 +6915,13 @@ var space_customer_data = zod.z.object({
|
|
|
6915
6915
|
),
|
|
6916
6916
|
default_checkout_time: zod.z.string().regex(time_of_day_re).nullish().describe(
|
|
6917
6917
|
"Default check-out time for reservations at the space, as HH:mm or HH:mm:ss."
|
|
6918
|
-
)
|
|
6918
|
+
),
|
|
6919
|
+
address: zod.z.string().nullish().describe("Postal address for the space.")
|
|
6919
6920
|
}).describe("Reservation/stay-related defaults for the space.");
|
|
6921
|
+
var space_geolocation = zod.z.object({
|
|
6922
|
+
latitude: zod.z.number().describe("Latitude of the space, in decimal degrees."),
|
|
6923
|
+
longitude: zod.z.number().describe("Longitude of the space, in decimal degrees.")
|
|
6924
|
+
}).describe("Geographic coordinates of the space.");
|
|
6920
6925
|
var space = zod.z.object({
|
|
6921
6926
|
space_id: zod.z.string().uuid().describe("ID of the space."),
|
|
6922
6927
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -6930,6 +6935,7 @@ var space = zod.z.object({
|
|
|
6930
6935
|
acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
|
|
6931
6936
|
customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
|
|
6932
6937
|
customer_data: space_customer_data.optional(),
|
|
6938
|
+
geolocation: space_geolocation.nullish().describe("Geographic coordinates (latitude and longitude) of the space."),
|
|
6933
6939
|
parent_space_id: zod.z.string().uuid().optional().describe(`
|
|
6934
6940
|
---
|
|
6935
6941
|
undocumented: Only used internally.
|
|
@@ -32477,6 +32483,11 @@ var openapi = {
|
|
|
32477
32483
|
customer_data: {
|
|
32478
32484
|
description: "Reservation/stay-related defaults for the space.",
|
|
32479
32485
|
properties: {
|
|
32486
|
+
address: {
|
|
32487
|
+
description: "Postal address for the space.",
|
|
32488
|
+
nullable: true,
|
|
32489
|
+
type: "string"
|
|
32490
|
+
},
|
|
32480
32491
|
default_checkin_time: {
|
|
32481
32492
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
32482
32493
|
nullable: true,
|
|
@@ -32510,6 +32521,24 @@ var openapi = {
|
|
|
32510
32521
|
description: "Display name for the space.",
|
|
32511
32522
|
type: "string"
|
|
32512
32523
|
},
|
|
32524
|
+
geolocation: {
|
|
32525
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
32526
|
+
nullable: true,
|
|
32527
|
+
properties: {
|
|
32528
|
+
latitude: {
|
|
32529
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
32530
|
+
format: "float",
|
|
32531
|
+
type: "number"
|
|
32532
|
+
},
|
|
32533
|
+
longitude: {
|
|
32534
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
32535
|
+
format: "float",
|
|
32536
|
+
type: "number"
|
|
32537
|
+
}
|
|
32538
|
+
},
|
|
32539
|
+
required: ["latitude", "longitude"],
|
|
32540
|
+
type: "object"
|
|
32541
|
+
},
|
|
32513
32542
|
name: { description: "Name of the space.", type: "string" },
|
|
32514
32543
|
parent_space_id: {
|
|
32515
32544
|
format: "uuid",
|
|
@@ -54673,7 +54702,8 @@ var openapi = {
|
|
|
54673
54702
|
"omnitec",
|
|
54674
54703
|
"yale_access",
|
|
54675
54704
|
"hid_cm",
|
|
54676
|
-
"google_nest"
|
|
54705
|
+
"google_nest",
|
|
54706
|
+
"slack"
|
|
54677
54707
|
],
|
|
54678
54708
|
type: "string"
|
|
54679
54709
|
},
|
|
@@ -56746,12 +56776,57 @@ var openapi = {
|
|
|
56746
56776
|
description: "List of general spaces or areas.",
|
|
56747
56777
|
items: {
|
|
56748
56778
|
properties: {
|
|
56779
|
+
customer_data: {
|
|
56780
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
56781
|
+
properties: {
|
|
56782
|
+
address: {
|
|
56783
|
+
description: "Postal address for the space.",
|
|
56784
|
+
nullable: true,
|
|
56785
|
+
type: "string"
|
|
56786
|
+
},
|
|
56787
|
+
default_checkin_time: {
|
|
56788
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
56789
|
+
nullable: true,
|
|
56790
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
56791
|
+
type: "string"
|
|
56792
|
+
},
|
|
56793
|
+
default_checkout_time: {
|
|
56794
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
56795
|
+
nullable: true,
|
|
56796
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
56797
|
+
type: "string"
|
|
56798
|
+
},
|
|
56799
|
+
time_zone: {
|
|
56800
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
56801
|
+
nullable: true,
|
|
56802
|
+
type: "string"
|
|
56803
|
+
}
|
|
56804
|
+
},
|
|
56805
|
+
type: "object"
|
|
56806
|
+
},
|
|
56749
56807
|
duration_minutes: {
|
|
56750
56808
|
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.",
|
|
56751
56809
|
exclusiveMinimum: true,
|
|
56752
56810
|
minimum: 0,
|
|
56753
56811
|
type: "integer"
|
|
56754
56812
|
},
|
|
56813
|
+
geolocation: {
|
|
56814
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
56815
|
+
properties: {
|
|
56816
|
+
latitude: {
|
|
56817
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
56818
|
+
format: "float",
|
|
56819
|
+
type: "number"
|
|
56820
|
+
},
|
|
56821
|
+
longitude: {
|
|
56822
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
56823
|
+
format: "float",
|
|
56824
|
+
type: "number"
|
|
56825
|
+
}
|
|
56826
|
+
},
|
|
56827
|
+
required: ["latitude", "longitude"],
|
|
56828
|
+
type: "object"
|
|
56829
|
+
},
|
|
56755
56830
|
name: {
|
|
56756
56831
|
description: "Your display name for this location resource.",
|
|
56757
56832
|
type: "string"
|
|
@@ -57882,12 +57957,57 @@ var openapi = {
|
|
|
57882
57957
|
description: "List of general spaces or areas.",
|
|
57883
57958
|
items: {
|
|
57884
57959
|
properties: {
|
|
57960
|
+
customer_data: {
|
|
57961
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
57962
|
+
properties: {
|
|
57963
|
+
address: {
|
|
57964
|
+
description: "Postal address for the space.",
|
|
57965
|
+
nullable: true,
|
|
57966
|
+
type: "string"
|
|
57967
|
+
},
|
|
57968
|
+
default_checkin_time: {
|
|
57969
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
57970
|
+
nullable: true,
|
|
57971
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
57972
|
+
type: "string"
|
|
57973
|
+
},
|
|
57974
|
+
default_checkout_time: {
|
|
57975
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
57976
|
+
nullable: true,
|
|
57977
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
57978
|
+
type: "string"
|
|
57979
|
+
},
|
|
57980
|
+
time_zone: {
|
|
57981
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
57982
|
+
nullable: true,
|
|
57983
|
+
type: "string"
|
|
57984
|
+
}
|
|
57985
|
+
},
|
|
57986
|
+
type: "object"
|
|
57987
|
+
},
|
|
57885
57988
|
duration_minutes: {
|
|
57886
57989
|
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.",
|
|
57887
57990
|
exclusiveMinimum: true,
|
|
57888
57991
|
minimum: 0,
|
|
57889
57992
|
type: "integer"
|
|
57890
57993
|
},
|
|
57994
|
+
geolocation: {
|
|
57995
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
57996
|
+
properties: {
|
|
57997
|
+
latitude: {
|
|
57998
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
57999
|
+
format: "float",
|
|
58000
|
+
type: "number"
|
|
58001
|
+
},
|
|
58002
|
+
longitude: {
|
|
58003
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
58004
|
+
format: "float",
|
|
58005
|
+
type: "number"
|
|
58006
|
+
}
|
|
58007
|
+
},
|
|
58008
|
+
required: ["latitude", "longitude"],
|
|
58009
|
+
type: "object"
|
|
58010
|
+
},
|
|
57891
58011
|
name: {
|
|
57892
58012
|
description: "Your display name for this location resource.",
|
|
57893
58013
|
type: "string"
|
|
@@ -76993,6 +77113,11 @@ var openapi = {
|
|
|
76993
77113
|
customer_data: {
|
|
76994
77114
|
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.",
|
|
76995
77115
|
properties: {
|
|
77116
|
+
address: {
|
|
77117
|
+
description: "Postal address for the space.",
|
|
77118
|
+
nullable: true,
|
|
77119
|
+
type: "string"
|
|
77120
|
+
},
|
|
76996
77121
|
default_checkin_time: {
|
|
76997
77122
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
76998
77123
|
nullable: true,
|
|
@@ -79157,6 +79282,11 @@ var openapi = {
|
|
|
79157
79282
|
customer_data: {
|
|
79158
79283
|
description: "Reservation/stay-related defaults for the space.",
|
|
79159
79284
|
properties: {
|
|
79285
|
+
address: {
|
|
79286
|
+
description: "Postal address for the space.",
|
|
79287
|
+
nullable: true,
|
|
79288
|
+
type: "string"
|
|
79289
|
+
},
|
|
79160
79290
|
default_checkin_time: {
|
|
79161
79291
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
79162
79292
|
nullable: true,
|
|
@@ -80258,6 +80388,11 @@ var openapi = {
|
|
|
80258
80388
|
customer_data: {
|
|
80259
80389
|
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.",
|
|
80260
80390
|
properties: {
|
|
80391
|
+
address: {
|
|
80392
|
+
description: "Postal address for the space.",
|
|
80393
|
+
nullable: true,
|
|
80394
|
+
type: "string"
|
|
80395
|
+
},
|
|
80261
80396
|
default_checkin_time: {
|
|
80262
80397
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
80263
80398
|
nullable: true,
|
|
@@ -80359,6 +80494,11 @@ var openapi = {
|
|
|
80359
80494
|
customer_data: {
|
|
80360
80495
|
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.",
|
|
80361
80496
|
properties: {
|
|
80497
|
+
address: {
|
|
80498
|
+
description: "Postal address for the space.",
|
|
80499
|
+
nullable: true,
|
|
80500
|
+
type: "string"
|
|
80501
|
+
},
|
|
80362
80502
|
default_checkin_time: {
|
|
80363
80503
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
80364
80504
|
nullable: true,
|
|
@@ -83664,12 +83804,57 @@ var openapi = {
|
|
|
83664
83804
|
description: "Optional list of spaces that you want to include in the new building block magic link.",
|
|
83665
83805
|
items: {
|
|
83666
83806
|
properties: {
|
|
83807
|
+
customer_data: {
|
|
83808
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
83809
|
+
properties: {
|
|
83810
|
+
address: {
|
|
83811
|
+
description: "Postal address for the space.",
|
|
83812
|
+
nullable: true,
|
|
83813
|
+
type: "string"
|
|
83814
|
+
},
|
|
83815
|
+
default_checkin_time: {
|
|
83816
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83817
|
+
nullable: true,
|
|
83818
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83819
|
+
type: "string"
|
|
83820
|
+
},
|
|
83821
|
+
default_checkout_time: {
|
|
83822
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83823
|
+
nullable: true,
|
|
83824
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83825
|
+
type: "string"
|
|
83826
|
+
},
|
|
83827
|
+
time_zone: {
|
|
83828
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
83829
|
+
nullable: true,
|
|
83830
|
+
type: "string"
|
|
83831
|
+
}
|
|
83832
|
+
},
|
|
83833
|
+
type: "object"
|
|
83834
|
+
},
|
|
83667
83835
|
duration_minutes: {
|
|
83668
83836
|
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.",
|
|
83669
83837
|
exclusiveMinimum: true,
|
|
83670
83838
|
minimum: 0,
|
|
83671
83839
|
type: "integer"
|
|
83672
83840
|
},
|
|
83841
|
+
geolocation: {
|
|
83842
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
83843
|
+
properties: {
|
|
83844
|
+
latitude: {
|
|
83845
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
83846
|
+
format: "float",
|
|
83847
|
+
type: "number"
|
|
83848
|
+
},
|
|
83849
|
+
longitude: {
|
|
83850
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
83851
|
+
format: "float",
|
|
83852
|
+
type: "number"
|
|
83853
|
+
}
|
|
83854
|
+
},
|
|
83855
|
+
required: ["latitude", "longitude"],
|
|
83856
|
+
type: "object"
|
|
83857
|
+
},
|
|
83673
83858
|
name: {
|
|
83674
83859
|
description: "Your display name for this location resource.",
|
|
83675
83860
|
type: "string"
|
|
@@ -83752,12 +83937,57 @@ var openapi = {
|
|
|
83752
83937
|
description: "Optional list of spaces that you want to include in the new building block magic link.",
|
|
83753
83938
|
items: {
|
|
83754
83939
|
properties: {
|
|
83940
|
+
customer_data: {
|
|
83941
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
83942
|
+
properties: {
|
|
83943
|
+
address: {
|
|
83944
|
+
description: "Postal address for the space.",
|
|
83945
|
+
nullable: true,
|
|
83946
|
+
type: "string"
|
|
83947
|
+
},
|
|
83948
|
+
default_checkin_time: {
|
|
83949
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83950
|
+
nullable: true,
|
|
83951
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83952
|
+
type: "string"
|
|
83953
|
+
},
|
|
83954
|
+
default_checkout_time: {
|
|
83955
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83956
|
+
nullable: true,
|
|
83957
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83958
|
+
type: "string"
|
|
83959
|
+
},
|
|
83960
|
+
time_zone: {
|
|
83961
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
83962
|
+
nullable: true,
|
|
83963
|
+
type: "string"
|
|
83964
|
+
}
|
|
83965
|
+
},
|
|
83966
|
+
type: "object"
|
|
83967
|
+
},
|
|
83755
83968
|
duration_minutes: {
|
|
83756
83969
|
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.",
|
|
83757
83970
|
exclusiveMinimum: true,
|
|
83758
83971
|
minimum: 0,
|
|
83759
83972
|
type: "integer"
|
|
83760
83973
|
},
|
|
83974
|
+
geolocation: {
|
|
83975
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
83976
|
+
properties: {
|
|
83977
|
+
latitude: {
|
|
83978
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
83979
|
+
format: "float",
|
|
83980
|
+
type: "number"
|
|
83981
|
+
},
|
|
83982
|
+
longitude: {
|
|
83983
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
83984
|
+
format: "float",
|
|
83985
|
+
type: "number"
|
|
83986
|
+
}
|
|
83987
|
+
},
|
|
83988
|
+
required: ["latitude", "longitude"],
|
|
83989
|
+
type: "object"
|
|
83990
|
+
},
|
|
83761
83991
|
name: {
|
|
83762
83992
|
description: "Your display name for this location resource.",
|
|
83763
83993
|
type: "string"
|
|
@@ -83892,12 +84122,57 @@ var openapi = {
|
|
|
83892
84122
|
description: "Optional list of spaces that you want to include in the new building block magic link.",
|
|
83893
84123
|
items: {
|
|
83894
84124
|
properties: {
|
|
84125
|
+
customer_data: {
|
|
84126
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
84127
|
+
properties: {
|
|
84128
|
+
address: {
|
|
84129
|
+
description: "Postal address for the space.",
|
|
84130
|
+
nullable: true,
|
|
84131
|
+
type: "string"
|
|
84132
|
+
},
|
|
84133
|
+
default_checkin_time: {
|
|
84134
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
84135
|
+
nullable: true,
|
|
84136
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
84137
|
+
type: "string"
|
|
84138
|
+
},
|
|
84139
|
+
default_checkout_time: {
|
|
84140
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
84141
|
+
nullable: true,
|
|
84142
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
84143
|
+
type: "string"
|
|
84144
|
+
},
|
|
84145
|
+
time_zone: {
|
|
84146
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
84147
|
+
nullable: true,
|
|
84148
|
+
type: "string"
|
|
84149
|
+
}
|
|
84150
|
+
},
|
|
84151
|
+
type: "object"
|
|
84152
|
+
},
|
|
83895
84153
|
duration_minutes: {
|
|
83896
84154
|
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.",
|
|
83897
84155
|
exclusiveMinimum: true,
|
|
83898
84156
|
minimum: 0,
|
|
83899
84157
|
type: "integer"
|
|
83900
84158
|
},
|
|
84159
|
+
geolocation: {
|
|
84160
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
84161
|
+
properties: {
|
|
84162
|
+
latitude: {
|
|
84163
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
84164
|
+
format: "float",
|
|
84165
|
+
type: "number"
|
|
84166
|
+
},
|
|
84167
|
+
longitude: {
|
|
84168
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
84169
|
+
format: "float",
|
|
84170
|
+
type: "number"
|
|
84171
|
+
}
|
|
84172
|
+
},
|
|
84173
|
+
required: ["latitude", "longitude"],
|
|
84174
|
+
type: "object"
|
|
84175
|
+
},
|
|
83901
84176
|
name: {
|
|
83902
84177
|
description: "Your display name for this location resource.",
|
|
83903
84178
|
type: "string"
|