@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
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",
|
|
@@ -56746,12 +56775,57 @@ var openapi = {
|
|
|
56746
56775
|
description: "List of general spaces or areas.",
|
|
56747
56776
|
items: {
|
|
56748
56777
|
properties: {
|
|
56778
|
+
customer_data: {
|
|
56779
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
56780
|
+
properties: {
|
|
56781
|
+
address: {
|
|
56782
|
+
description: "Postal address for the space.",
|
|
56783
|
+
nullable: true,
|
|
56784
|
+
type: "string"
|
|
56785
|
+
},
|
|
56786
|
+
default_checkin_time: {
|
|
56787
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
56788
|
+
nullable: true,
|
|
56789
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
56790
|
+
type: "string"
|
|
56791
|
+
},
|
|
56792
|
+
default_checkout_time: {
|
|
56793
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
56794
|
+
nullable: true,
|
|
56795
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
56796
|
+
type: "string"
|
|
56797
|
+
},
|
|
56798
|
+
time_zone: {
|
|
56799
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
56800
|
+
nullable: true,
|
|
56801
|
+
type: "string"
|
|
56802
|
+
}
|
|
56803
|
+
},
|
|
56804
|
+
type: "object"
|
|
56805
|
+
},
|
|
56749
56806
|
duration_minutes: {
|
|
56750
56807
|
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
56808
|
exclusiveMinimum: true,
|
|
56752
56809
|
minimum: 0,
|
|
56753
56810
|
type: "integer"
|
|
56754
56811
|
},
|
|
56812
|
+
geolocation: {
|
|
56813
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
56814
|
+
properties: {
|
|
56815
|
+
latitude: {
|
|
56816
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
56817
|
+
format: "float",
|
|
56818
|
+
type: "number"
|
|
56819
|
+
},
|
|
56820
|
+
longitude: {
|
|
56821
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
56822
|
+
format: "float",
|
|
56823
|
+
type: "number"
|
|
56824
|
+
}
|
|
56825
|
+
},
|
|
56826
|
+
required: ["latitude", "longitude"],
|
|
56827
|
+
type: "object"
|
|
56828
|
+
},
|
|
56755
56829
|
name: {
|
|
56756
56830
|
description: "Your display name for this location resource.",
|
|
56757
56831
|
type: "string"
|
|
@@ -57882,12 +57956,57 @@ var openapi = {
|
|
|
57882
57956
|
description: "List of general spaces or areas.",
|
|
57883
57957
|
items: {
|
|
57884
57958
|
properties: {
|
|
57959
|
+
customer_data: {
|
|
57960
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
57961
|
+
properties: {
|
|
57962
|
+
address: {
|
|
57963
|
+
description: "Postal address for the space.",
|
|
57964
|
+
nullable: true,
|
|
57965
|
+
type: "string"
|
|
57966
|
+
},
|
|
57967
|
+
default_checkin_time: {
|
|
57968
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
57969
|
+
nullable: true,
|
|
57970
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
57971
|
+
type: "string"
|
|
57972
|
+
},
|
|
57973
|
+
default_checkout_time: {
|
|
57974
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
57975
|
+
nullable: true,
|
|
57976
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
57977
|
+
type: "string"
|
|
57978
|
+
},
|
|
57979
|
+
time_zone: {
|
|
57980
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
57981
|
+
nullable: true,
|
|
57982
|
+
type: "string"
|
|
57983
|
+
}
|
|
57984
|
+
},
|
|
57985
|
+
type: "object"
|
|
57986
|
+
},
|
|
57885
57987
|
duration_minutes: {
|
|
57886
57988
|
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
57989
|
exclusiveMinimum: true,
|
|
57888
57990
|
minimum: 0,
|
|
57889
57991
|
type: "integer"
|
|
57890
57992
|
},
|
|
57993
|
+
geolocation: {
|
|
57994
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
57995
|
+
properties: {
|
|
57996
|
+
latitude: {
|
|
57997
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
57998
|
+
format: "float",
|
|
57999
|
+
type: "number"
|
|
58000
|
+
},
|
|
58001
|
+
longitude: {
|
|
58002
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
58003
|
+
format: "float",
|
|
58004
|
+
type: "number"
|
|
58005
|
+
}
|
|
58006
|
+
},
|
|
58007
|
+
required: ["latitude", "longitude"],
|
|
58008
|
+
type: "object"
|
|
58009
|
+
},
|
|
57891
58010
|
name: {
|
|
57892
58011
|
description: "Your display name for this location resource.",
|
|
57893
58012
|
type: "string"
|
|
@@ -76993,6 +77112,11 @@ var openapi = {
|
|
|
76993
77112
|
customer_data: {
|
|
76994
77113
|
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
77114
|
properties: {
|
|
77115
|
+
address: {
|
|
77116
|
+
description: "Postal address for the space.",
|
|
77117
|
+
nullable: true,
|
|
77118
|
+
type: "string"
|
|
77119
|
+
},
|
|
76996
77120
|
default_checkin_time: {
|
|
76997
77121
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
76998
77122
|
nullable: true,
|
|
@@ -79157,6 +79281,11 @@ var openapi = {
|
|
|
79157
79281
|
customer_data: {
|
|
79158
79282
|
description: "Reservation/stay-related defaults for the space.",
|
|
79159
79283
|
properties: {
|
|
79284
|
+
address: {
|
|
79285
|
+
description: "Postal address for the space.",
|
|
79286
|
+
nullable: true,
|
|
79287
|
+
type: "string"
|
|
79288
|
+
},
|
|
79160
79289
|
default_checkin_time: {
|
|
79161
79290
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
79162
79291
|
nullable: true,
|
|
@@ -80258,6 +80387,11 @@ var openapi = {
|
|
|
80258
80387
|
customer_data: {
|
|
80259
80388
|
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
80389
|
properties: {
|
|
80390
|
+
address: {
|
|
80391
|
+
description: "Postal address for the space.",
|
|
80392
|
+
nullable: true,
|
|
80393
|
+
type: "string"
|
|
80394
|
+
},
|
|
80261
80395
|
default_checkin_time: {
|
|
80262
80396
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
80263
80397
|
nullable: true,
|
|
@@ -80359,6 +80493,11 @@ var openapi = {
|
|
|
80359
80493
|
customer_data: {
|
|
80360
80494
|
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
80495
|
properties: {
|
|
80496
|
+
address: {
|
|
80497
|
+
description: "Postal address for the space.",
|
|
80498
|
+
nullable: true,
|
|
80499
|
+
type: "string"
|
|
80500
|
+
},
|
|
80362
80501
|
default_checkin_time: {
|
|
80363
80502
|
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
80364
80503
|
nullable: true,
|
|
@@ -83664,12 +83803,57 @@ var openapi = {
|
|
|
83664
83803
|
description: "Optional list of spaces that you want to include in the new building block magic link.",
|
|
83665
83804
|
items: {
|
|
83666
83805
|
properties: {
|
|
83806
|
+
customer_data: {
|
|
83807
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
83808
|
+
properties: {
|
|
83809
|
+
address: {
|
|
83810
|
+
description: "Postal address for the space.",
|
|
83811
|
+
nullable: true,
|
|
83812
|
+
type: "string"
|
|
83813
|
+
},
|
|
83814
|
+
default_checkin_time: {
|
|
83815
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83816
|
+
nullable: true,
|
|
83817
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83818
|
+
type: "string"
|
|
83819
|
+
},
|
|
83820
|
+
default_checkout_time: {
|
|
83821
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83822
|
+
nullable: true,
|
|
83823
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83824
|
+
type: "string"
|
|
83825
|
+
},
|
|
83826
|
+
time_zone: {
|
|
83827
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
83828
|
+
nullable: true,
|
|
83829
|
+
type: "string"
|
|
83830
|
+
}
|
|
83831
|
+
},
|
|
83832
|
+
type: "object"
|
|
83833
|
+
},
|
|
83667
83834
|
duration_minutes: {
|
|
83668
83835
|
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
83836
|
exclusiveMinimum: true,
|
|
83670
83837
|
minimum: 0,
|
|
83671
83838
|
type: "integer"
|
|
83672
83839
|
},
|
|
83840
|
+
geolocation: {
|
|
83841
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
83842
|
+
properties: {
|
|
83843
|
+
latitude: {
|
|
83844
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
83845
|
+
format: "float",
|
|
83846
|
+
type: "number"
|
|
83847
|
+
},
|
|
83848
|
+
longitude: {
|
|
83849
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
83850
|
+
format: "float",
|
|
83851
|
+
type: "number"
|
|
83852
|
+
}
|
|
83853
|
+
},
|
|
83854
|
+
required: ["latitude", "longitude"],
|
|
83855
|
+
type: "object"
|
|
83856
|
+
},
|
|
83673
83857
|
name: {
|
|
83674
83858
|
description: "Your display name for this location resource.",
|
|
83675
83859
|
type: "string"
|
|
@@ -83752,12 +83936,57 @@ var openapi = {
|
|
|
83752
83936
|
description: "Optional list of spaces that you want to include in the new building block magic link.",
|
|
83753
83937
|
items: {
|
|
83754
83938
|
properties: {
|
|
83939
|
+
customer_data: {
|
|
83940
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
83941
|
+
properties: {
|
|
83942
|
+
address: {
|
|
83943
|
+
description: "Postal address for the space.",
|
|
83944
|
+
nullable: true,
|
|
83945
|
+
type: "string"
|
|
83946
|
+
},
|
|
83947
|
+
default_checkin_time: {
|
|
83948
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83949
|
+
nullable: true,
|
|
83950
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83951
|
+
type: "string"
|
|
83952
|
+
},
|
|
83953
|
+
default_checkout_time: {
|
|
83954
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
83955
|
+
nullable: true,
|
|
83956
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
83957
|
+
type: "string"
|
|
83958
|
+
},
|
|
83959
|
+
time_zone: {
|
|
83960
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
83961
|
+
nullable: true,
|
|
83962
|
+
type: "string"
|
|
83963
|
+
}
|
|
83964
|
+
},
|
|
83965
|
+
type: "object"
|
|
83966
|
+
},
|
|
83755
83967
|
duration_minutes: {
|
|
83756
83968
|
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
83969
|
exclusiveMinimum: true,
|
|
83758
83970
|
minimum: 0,
|
|
83759
83971
|
type: "integer"
|
|
83760
83972
|
},
|
|
83973
|
+
geolocation: {
|
|
83974
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
83975
|
+
properties: {
|
|
83976
|
+
latitude: {
|
|
83977
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
83978
|
+
format: "float",
|
|
83979
|
+
type: "number"
|
|
83980
|
+
},
|
|
83981
|
+
longitude: {
|
|
83982
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
83983
|
+
format: "float",
|
|
83984
|
+
type: "number"
|
|
83985
|
+
}
|
|
83986
|
+
},
|
|
83987
|
+
required: ["latitude", "longitude"],
|
|
83988
|
+
type: "object"
|
|
83989
|
+
},
|
|
83761
83990
|
name: {
|
|
83762
83991
|
description: "Your display name for this location resource.",
|
|
83763
83992
|
type: "string"
|
|
@@ -83892,12 +84121,57 @@ var openapi = {
|
|
|
83892
84121
|
description: "Optional list of spaces that you want to include in the new building block magic link.",
|
|
83893
84122
|
items: {
|
|
83894
84123
|
properties: {
|
|
84124
|
+
customer_data: {
|
|
84125
|
+
description: "Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).",
|
|
84126
|
+
properties: {
|
|
84127
|
+
address: {
|
|
84128
|
+
description: "Postal address for the space.",
|
|
84129
|
+
nullable: true,
|
|
84130
|
+
type: "string"
|
|
84131
|
+
},
|
|
84132
|
+
default_checkin_time: {
|
|
84133
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
84134
|
+
nullable: true,
|
|
84135
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
84136
|
+
type: "string"
|
|
84137
|
+
},
|
|
84138
|
+
default_checkout_time: {
|
|
84139
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
84140
|
+
nullable: true,
|
|
84141
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
84142
|
+
type: "string"
|
|
84143
|
+
},
|
|
84144
|
+
time_zone: {
|
|
84145
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
84146
|
+
nullable: true,
|
|
84147
|
+
type: "string"
|
|
84148
|
+
}
|
|
84149
|
+
},
|
|
84150
|
+
type: "object"
|
|
84151
|
+
},
|
|
83895
84152
|
duration_minutes: {
|
|
83896
84153
|
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
84154
|
exclusiveMinimum: true,
|
|
83898
84155
|
minimum: 0,
|
|
83899
84156
|
type: "integer"
|
|
83900
84157
|
},
|
|
84158
|
+
geolocation: {
|
|
84159
|
+
description: "Geographic coordinates (latitude and longitude) of the space.",
|
|
84160
|
+
properties: {
|
|
84161
|
+
latitude: {
|
|
84162
|
+
description: "Latitude of the space, in decimal degrees.",
|
|
84163
|
+
format: "float",
|
|
84164
|
+
type: "number"
|
|
84165
|
+
},
|
|
84166
|
+
longitude: {
|
|
84167
|
+
description: "Longitude of the space, in decimal degrees.",
|
|
84168
|
+
format: "float",
|
|
84169
|
+
type: "number"
|
|
84170
|
+
}
|
|
84171
|
+
},
|
|
84172
|
+
required: ["latitude", "longitude"],
|
|
84173
|
+
type: "object"
|
|
84174
|
+
},
|
|
83901
84175
|
name: {
|
|
83902
84176
|
description: "Your display name for this location resource.",
|
|
83903
84177
|
type: "string"
|