@seamapi/types 1.840.0 → 1.842.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 +48 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -32
- package/dist/index.cjs +48 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +33 -18
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +9 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +12 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +6 -6
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -4
- package/lib/seam/connect/models/spaces/space.d.ts +6 -6
- package/lib/seam/connect/openapi.js +39 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +46 -9
- package/src/lib/seam/connect/route-types.ts +47 -0
package/dist/connect.cjs
CHANGED
|
@@ -756,6 +756,15 @@ var connected_account = zod.z.object({
|
|
|
756
756
|
),
|
|
757
757
|
accepted_capabilities: zod.z.array(provider_capability).describe(
|
|
758
758
|
"List of capabilities that were accepted during the account connection process."
|
|
759
|
+
),
|
|
760
|
+
default_checkin_time: zod.z.string().optional().describe(
|
|
761
|
+
"Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration \u2014 set during the connect_webview for providers like Lodgify whose API does not expose check-in times."
|
|
762
|
+
),
|
|
763
|
+
default_checkout_time: zod.z.string().optional().describe(
|
|
764
|
+
"Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration."
|
|
765
|
+
),
|
|
766
|
+
time_zone: zod.z.string().optional().describe(
|
|
767
|
+
"IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration."
|
|
759
768
|
)
|
|
760
769
|
}).describe(`
|
|
761
770
|
---
|
|
@@ -16765,6 +16774,14 @@ var openapi = {
|
|
|
16765
16774
|
description: "Your unique key for the customer associated with this connected account.",
|
|
16766
16775
|
type: "string"
|
|
16767
16776
|
},
|
|
16777
|
+
default_checkin_time: {
|
|
16778
|
+
description: "Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration \u2014 set during the connect_webview for providers like Lodgify whose API does not expose check-in times.",
|
|
16779
|
+
type: "string"
|
|
16780
|
+
},
|
|
16781
|
+
default_checkout_time: {
|
|
16782
|
+
description: "Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration.",
|
|
16783
|
+
type: "string"
|
|
16784
|
+
},
|
|
16768
16785
|
display_name: {
|
|
16769
16786
|
description: "Display name for the connected account.",
|
|
16770
16787
|
type: "string"
|
|
@@ -16916,6 +16933,10 @@ var openapi = {
|
|
|
16916
16933
|
format: "uri",
|
|
16917
16934
|
type: "string"
|
|
16918
16935
|
},
|
|
16936
|
+
time_zone: {
|
|
16937
|
+
description: "IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration.",
|
|
16938
|
+
type: "string"
|
|
16939
|
+
},
|
|
16919
16940
|
user_identifier: {
|
|
16920
16941
|
deprecated: true,
|
|
16921
16942
|
description: "User identifier associated with the connected account.",
|
|
@@ -35550,11 +35571,6 @@ var openapi = {
|
|
|
35550
35571
|
}
|
|
35551
35572
|
},
|
|
35552
35573
|
securitySchemes: {
|
|
35553
|
-
access_token: {
|
|
35554
|
-
bearerFormat: "API Token",
|
|
35555
|
-
scheme: "bearer",
|
|
35556
|
-
type: "http"
|
|
35557
|
-
},
|
|
35558
35574
|
api_key: { bearerFormat: "API Key", scheme: "bearer", type: "http" },
|
|
35559
35575
|
bridge_client_session: {
|
|
35560
35576
|
bearerFormat: "Bridge Client Session Token",
|
|
@@ -36264,7 +36280,7 @@ var openapi = {
|
|
|
36264
36280
|
},
|
|
36265
36281
|
security: [
|
|
36266
36282
|
{ api_key: [] },
|
|
36267
|
-
{
|
|
36283
|
+
{ pat_with_workspace: [] },
|
|
36268
36284
|
{ console_session_with_workspace: [] },
|
|
36269
36285
|
{ client_session: [] },
|
|
36270
36286
|
{ client_session_with_customer: [] }
|
|
@@ -36326,7 +36342,7 @@ var openapi = {
|
|
|
36326
36342
|
},
|
|
36327
36343
|
security: [
|
|
36328
36344
|
{ api_key: [] },
|
|
36329
|
-
{
|
|
36345
|
+
{ pat_with_workspace: [] },
|
|
36330
36346
|
{ console_session_with_workspace: [] },
|
|
36331
36347
|
{ client_session: [] },
|
|
36332
36348
|
{ client_session_with_customer: [] }
|
|
@@ -48021,7 +48037,7 @@ var openapi = {
|
|
|
48021
48037
|
},
|
|
48022
48038
|
security: [
|
|
48023
48039
|
{ api_key: [] },
|
|
48024
|
-
{
|
|
48040
|
+
{ pat_with_workspace: [] },
|
|
48025
48041
|
{ console_session_with_workspace: [] },
|
|
48026
48042
|
{ client_session_with_customer: [] },
|
|
48027
48043
|
{ client_session: [] }
|
|
@@ -48075,7 +48091,7 @@ var openapi = {
|
|
|
48075
48091
|
},
|
|
48076
48092
|
security: [
|
|
48077
48093
|
{ api_key: [] },
|
|
48078
|
-
{
|
|
48094
|
+
{ pat_with_workspace: [] },
|
|
48079
48095
|
{ console_session_with_workspace: [] },
|
|
48080
48096
|
{ client_session_with_customer: [] },
|
|
48081
48097
|
{ client_session: [] }
|
|
@@ -73365,6 +73381,29 @@ var openapi = {
|
|
|
73365
73381
|
items: { format: "uuid", type: "string" },
|
|
73366
73382
|
type: "array"
|
|
73367
73383
|
},
|
|
73384
|
+
customer_data: {
|
|
73385
|
+
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.",
|
|
73386
|
+
properties: {
|
|
73387
|
+
default_checkin_time: {
|
|
73388
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
73389
|
+
nullable: true,
|
|
73390
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
73391
|
+
type: "string"
|
|
73392
|
+
},
|
|
73393
|
+
default_checkout_time: {
|
|
73394
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
73395
|
+
nullable: true,
|
|
73396
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
73397
|
+
type: "string"
|
|
73398
|
+
},
|
|
73399
|
+
time_zone: {
|
|
73400
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
73401
|
+
nullable: true,
|
|
73402
|
+
type: "string"
|
|
73403
|
+
}
|
|
73404
|
+
},
|
|
73405
|
+
type: "object"
|
|
73406
|
+
},
|
|
73368
73407
|
device_ids: {
|
|
73369
73408
|
description: "IDs of the devices that you want to add to the new space.",
|
|
73370
73409
|
items: { format: "uuid", type: "string" },
|