@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.d.cts
CHANGED
|
@@ -12775,13 +12775,13 @@ declare const batch: z.ZodObject<{
|
|
|
12775
12775
|
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12776
12776
|
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12777
12777
|
}, "strip", z.ZodTypeAny, {
|
|
12778
|
-
time_zone?: string | null | undefined;
|
|
12779
12778
|
default_checkin_time?: string | null | undefined;
|
|
12780
12779
|
default_checkout_time?: string | null | undefined;
|
|
12781
|
-
}, {
|
|
12782
12780
|
time_zone?: string | null | undefined;
|
|
12781
|
+
}, {
|
|
12783
12782
|
default_checkin_time?: string | null | undefined;
|
|
12784
12783
|
default_checkout_time?: string | null | undefined;
|
|
12784
|
+
time_zone?: string | null | undefined;
|
|
12785
12785
|
}>>;
|
|
12786
12786
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
12787
12787
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
@@ -12796,9 +12796,9 @@ declare const batch: z.ZodObject<{
|
|
|
12796
12796
|
customer_key?: string | undefined;
|
|
12797
12797
|
space_key?: string | undefined;
|
|
12798
12798
|
customer_data?: {
|
|
12799
|
-
time_zone?: string | null | undefined;
|
|
12800
12799
|
default_checkin_time?: string | null | undefined;
|
|
12801
12800
|
default_checkout_time?: string | null | undefined;
|
|
12801
|
+
time_zone?: string | null | undefined;
|
|
12802
12802
|
} | undefined;
|
|
12803
12803
|
parent_space_id?: string | undefined;
|
|
12804
12804
|
parent_space_key?: string | undefined;
|
|
@@ -12813,9 +12813,9 @@ declare const batch: z.ZodObject<{
|
|
|
12813
12813
|
customer_key?: string | undefined;
|
|
12814
12814
|
space_key?: string | undefined;
|
|
12815
12815
|
customer_data?: {
|
|
12816
|
-
time_zone?: string | null | undefined;
|
|
12817
12816
|
default_checkin_time?: string | null | undefined;
|
|
12818
12817
|
default_checkout_time?: string | null | undefined;
|
|
12818
|
+
time_zone?: string | null | undefined;
|
|
12819
12819
|
} | undefined;
|
|
12820
12820
|
parent_space_id?: string | undefined;
|
|
12821
12821
|
parent_space_key?: string | undefined;
|
|
@@ -13873,14 +13873,14 @@ declare const batch: z.ZodObject<{
|
|
|
13873
13873
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
13874
13874
|
}, "strip", z.ZodTypeAny, {
|
|
13875
13875
|
device_id: string;
|
|
13876
|
+
time_zone: string | null;
|
|
13876
13877
|
device_name: string;
|
|
13877
13878
|
device_type: string;
|
|
13878
|
-
time_zone: string | null;
|
|
13879
13879
|
}, {
|
|
13880
13880
|
device_id: string;
|
|
13881
|
+
time_zone: string | null;
|
|
13881
13882
|
device_name: string;
|
|
13882
13883
|
device_type: string;
|
|
13883
|
-
time_zone: string | null;
|
|
13884
13884
|
}>>;
|
|
13885
13885
|
ring_metadata: z.ZodOptional<z.ZodObject<{
|
|
13886
13886
|
device_id: z.ZodString;
|
|
@@ -14180,9 +14180,9 @@ declare const batch: z.ZodObject<{
|
|
|
14180
14180
|
} | undefined;
|
|
14181
14181
|
ultraloq_metadata?: {
|
|
14182
14182
|
device_id: string;
|
|
14183
|
+
time_zone: string | null;
|
|
14183
14184
|
device_name: string;
|
|
14184
14185
|
device_type: string;
|
|
14185
|
-
time_zone: string | null;
|
|
14186
14186
|
} | undefined;
|
|
14187
14187
|
ring_metadata?: {
|
|
14188
14188
|
device_id: string;
|
|
@@ -14460,9 +14460,9 @@ declare const batch: z.ZodObject<{
|
|
|
14460
14460
|
} | undefined;
|
|
14461
14461
|
ultraloq_metadata?: {
|
|
14462
14462
|
device_id: string;
|
|
14463
|
+
time_zone: string | null;
|
|
14463
14464
|
device_name: string;
|
|
14464
14465
|
device_type: string;
|
|
14465
|
-
time_zone: string | null;
|
|
14466
14466
|
} | undefined;
|
|
14467
14467
|
ring_metadata?: {
|
|
14468
14468
|
device_id: string;
|
|
@@ -16430,9 +16430,9 @@ declare const batch: z.ZodObject<{
|
|
|
16430
16430
|
} | undefined;
|
|
16431
16431
|
ultraloq_metadata?: {
|
|
16432
16432
|
device_id: string;
|
|
16433
|
+
time_zone: string | null;
|
|
16433
16434
|
device_name: string;
|
|
16434
16435
|
device_type: string;
|
|
16435
|
-
time_zone: string | null;
|
|
16436
16436
|
} | undefined;
|
|
16437
16437
|
ring_metadata?: {
|
|
16438
16438
|
device_id: string;
|
|
@@ -17158,9 +17158,9 @@ declare const batch: z.ZodObject<{
|
|
|
17158
17158
|
} | undefined;
|
|
17159
17159
|
ultraloq_metadata?: {
|
|
17160
17160
|
device_id: string;
|
|
17161
|
+
time_zone: string | null;
|
|
17161
17162
|
device_name: string;
|
|
17162
17163
|
device_type: string;
|
|
17163
|
-
time_zone: string | null;
|
|
17164
17164
|
} | undefined;
|
|
17165
17165
|
ring_metadata?: {
|
|
17166
17166
|
device_id: string;
|
|
@@ -17631,6 +17631,9 @@ declare const batch: z.ZodObject<{
|
|
|
17631
17631
|
automatically_manage_new_devices: z.ZodBoolean;
|
|
17632
17632
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
17633
17633
|
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
|
|
17634
|
+
default_checkin_time: z.ZodOptional<z.ZodString>;
|
|
17635
|
+
default_checkout_time: z.ZodOptional<z.ZodString>;
|
|
17636
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
17634
17637
|
}, "strip", z.ZodTypeAny, {
|
|
17635
17638
|
display_name: string;
|
|
17636
17639
|
errors: ({
|
|
@@ -17709,6 +17712,9 @@ declare const batch: z.ZodObject<{
|
|
|
17709
17712
|
account_type?: string | undefined;
|
|
17710
17713
|
image_url?: string | undefined;
|
|
17711
17714
|
customer_key?: string | undefined;
|
|
17715
|
+
default_checkin_time?: string | undefined;
|
|
17716
|
+
default_checkout_time?: string | undefined;
|
|
17717
|
+
time_zone?: string | undefined;
|
|
17712
17718
|
}, {
|
|
17713
17719
|
display_name: string;
|
|
17714
17720
|
errors: ({
|
|
@@ -17787,6 +17793,9 @@ declare const batch: z.ZodObject<{
|
|
|
17787
17793
|
account_type?: string | undefined;
|
|
17788
17794
|
image_url?: string | undefined;
|
|
17789
17795
|
customer_key?: string | undefined;
|
|
17796
|
+
default_checkin_time?: string | undefined;
|
|
17797
|
+
default_checkout_time?: string | undefined;
|
|
17798
|
+
time_zone?: string | undefined;
|
|
17790
17799
|
}>, "many">>;
|
|
17791
17800
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17792
17801
|
acs_system_id: z.ZodString;
|
|
@@ -26669,14 +26678,14 @@ declare const batch: z.ZodObject<{
|
|
|
26669
26678
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
26670
26679
|
}, "strip", z.ZodTypeAny, {
|
|
26671
26680
|
device_id: string;
|
|
26681
|
+
time_zone: string | null;
|
|
26672
26682
|
device_name: string;
|
|
26673
26683
|
device_type: string;
|
|
26674
|
-
time_zone: string | null;
|
|
26675
26684
|
}, {
|
|
26676
26685
|
device_id: string;
|
|
26686
|
+
time_zone: string | null;
|
|
26677
26687
|
device_name: string;
|
|
26678
26688
|
device_type: string;
|
|
26679
|
-
time_zone: string | null;
|
|
26680
26689
|
}>>;
|
|
26681
26690
|
ring_metadata: z.ZodOptional<z.ZodObject<{
|
|
26682
26691
|
device_id: z.ZodString;
|
|
@@ -26976,9 +26985,9 @@ declare const batch: z.ZodObject<{
|
|
|
26976
26985
|
} | undefined;
|
|
26977
26986
|
ultraloq_metadata?: {
|
|
26978
26987
|
device_id: string;
|
|
26988
|
+
time_zone: string | null;
|
|
26979
26989
|
device_name: string;
|
|
26980
26990
|
device_type: string;
|
|
26981
|
-
time_zone: string | null;
|
|
26982
26991
|
} | undefined;
|
|
26983
26992
|
ring_metadata?: {
|
|
26984
26993
|
device_id: string;
|
|
@@ -27256,9 +27265,9 @@ declare const batch: z.ZodObject<{
|
|
|
27256
27265
|
} | undefined;
|
|
27257
27266
|
ultraloq_metadata?: {
|
|
27258
27267
|
device_id: string;
|
|
27268
|
+
time_zone: string | null;
|
|
27259
27269
|
device_name: string;
|
|
27260
27270
|
device_type: string;
|
|
27261
|
-
time_zone: string | null;
|
|
27262
27271
|
} | undefined;
|
|
27263
27272
|
ring_metadata?: {
|
|
27264
27273
|
device_id: string;
|
|
@@ -38795,9 +38804,9 @@ declare const batch: z.ZodObject<{
|
|
|
38795
38804
|
customer_key?: string | undefined;
|
|
38796
38805
|
space_key?: string | undefined;
|
|
38797
38806
|
customer_data?: {
|
|
38798
|
-
time_zone?: string | null | undefined;
|
|
38799
38807
|
default_checkin_time?: string | null | undefined;
|
|
38800
38808
|
default_checkout_time?: string | null | undefined;
|
|
38809
|
+
time_zone?: string | null | undefined;
|
|
38801
38810
|
} | undefined;
|
|
38802
38811
|
parent_space_id?: string | undefined;
|
|
38803
38812
|
parent_space_key?: string | undefined;
|
|
@@ -39321,9 +39330,9 @@ declare const batch: z.ZodObject<{
|
|
|
39321
39330
|
} | undefined;
|
|
39322
39331
|
ultraloq_metadata?: {
|
|
39323
39332
|
device_id: string;
|
|
39333
|
+
time_zone: string | null;
|
|
39324
39334
|
device_name: string;
|
|
39325
39335
|
device_type: string;
|
|
39326
|
-
time_zone: string | null;
|
|
39327
39336
|
} | undefined;
|
|
39328
39337
|
ring_metadata?: {
|
|
39329
39338
|
device_id: string;
|
|
@@ -39609,6 +39618,9 @@ declare const batch: z.ZodObject<{
|
|
|
39609
39618
|
account_type?: string | undefined;
|
|
39610
39619
|
image_url?: string | undefined;
|
|
39611
39620
|
customer_key?: string | undefined;
|
|
39621
|
+
default_checkin_time?: string | undefined;
|
|
39622
|
+
default_checkout_time?: string | undefined;
|
|
39623
|
+
time_zone?: string | undefined;
|
|
39612
39624
|
}[] | undefined;
|
|
39613
39625
|
acs_entrances?: {
|
|
39614
39626
|
display_name: string;
|
|
@@ -43795,9 +43807,9 @@ declare const batch: z.ZodObject<{
|
|
|
43795
43807
|
customer_key?: string | undefined;
|
|
43796
43808
|
space_key?: string | undefined;
|
|
43797
43809
|
customer_data?: {
|
|
43798
|
-
time_zone?: string | null | undefined;
|
|
43799
43810
|
default_checkin_time?: string | null | undefined;
|
|
43800
43811
|
default_checkout_time?: string | null | undefined;
|
|
43812
|
+
time_zone?: string | null | undefined;
|
|
43801
43813
|
} | undefined;
|
|
43802
43814
|
parent_space_id?: string | undefined;
|
|
43803
43815
|
parent_space_key?: string | undefined;
|
|
@@ -44321,9 +44333,9 @@ declare const batch: z.ZodObject<{
|
|
|
44321
44333
|
} | undefined;
|
|
44322
44334
|
ultraloq_metadata?: {
|
|
44323
44335
|
device_id: string;
|
|
44336
|
+
time_zone: string | null;
|
|
44324
44337
|
device_name: string;
|
|
44325
44338
|
device_type: string;
|
|
44326
|
-
time_zone: string | null;
|
|
44327
44339
|
} | undefined;
|
|
44328
44340
|
ring_metadata?: {
|
|
44329
44341
|
device_id: string;
|
|
@@ -44609,6 +44621,9 @@ declare const batch: z.ZodObject<{
|
|
|
44609
44621
|
account_type?: string | undefined;
|
|
44610
44622
|
image_url?: string | undefined;
|
|
44611
44623
|
customer_key?: string | undefined;
|
|
44624
|
+
default_checkin_time?: string | undefined;
|
|
44625
|
+
default_checkout_time?: string | undefined;
|
|
44626
|
+
time_zone?: string | undefined;
|
|
44612
44627
|
}[] | undefined;
|
|
44613
44628
|
acs_entrances?: {
|
|
44614
44629
|
display_name: string;
|
|
@@ -49469,6 +49484,9 @@ declare const connected_account: z.ZodObject<{
|
|
|
49469
49484
|
automatically_manage_new_devices: z.ZodBoolean;
|
|
49470
49485
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
49471
49486
|
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
|
|
49487
|
+
default_checkin_time: z.ZodOptional<z.ZodString>;
|
|
49488
|
+
default_checkout_time: z.ZodOptional<z.ZodString>;
|
|
49489
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
49472
49490
|
}, "strip", z.ZodTypeAny, {
|
|
49473
49491
|
display_name: string;
|
|
49474
49492
|
errors: ({
|
|
@@ -49547,6 +49565,9 @@ declare const connected_account: z.ZodObject<{
|
|
|
49547
49565
|
account_type?: string | undefined;
|
|
49548
49566
|
image_url?: string | undefined;
|
|
49549
49567
|
customer_key?: string | undefined;
|
|
49568
|
+
default_checkin_time?: string | undefined;
|
|
49569
|
+
default_checkout_time?: string | undefined;
|
|
49570
|
+
time_zone?: string | undefined;
|
|
49550
49571
|
}, {
|
|
49551
49572
|
display_name: string;
|
|
49552
49573
|
errors: ({
|
|
@@ -49625,6 +49646,9 @@ declare const connected_account: z.ZodObject<{
|
|
|
49625
49646
|
account_type?: string | undefined;
|
|
49626
49647
|
image_url?: string | undefined;
|
|
49627
49648
|
customer_key?: string | undefined;
|
|
49649
|
+
default_checkin_time?: string | undefined;
|
|
49650
|
+
default_checkout_time?: string | undefined;
|
|
49651
|
+
time_zone?: string | undefined;
|
|
49628
49652
|
}>;
|
|
49629
49653
|
type ConnectedAccount = z.infer<typeof connected_account>;
|
|
49630
49654
|
|
|
@@ -51339,14 +51363,14 @@ declare const device: z.ZodObject<{
|
|
|
51339
51363
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
51340
51364
|
}, "strip", z.ZodTypeAny, {
|
|
51341
51365
|
device_id: string;
|
|
51366
|
+
time_zone: string | null;
|
|
51342
51367
|
device_name: string;
|
|
51343
51368
|
device_type: string;
|
|
51344
|
-
time_zone: string | null;
|
|
51345
51369
|
}, {
|
|
51346
51370
|
device_id: string;
|
|
51371
|
+
time_zone: string | null;
|
|
51347
51372
|
device_name: string;
|
|
51348
51373
|
device_type: string;
|
|
51349
|
-
time_zone: string | null;
|
|
51350
51374
|
}>>;
|
|
51351
51375
|
ring_metadata: z.ZodOptional<z.ZodObject<{
|
|
51352
51376
|
device_id: z.ZodString;
|
|
@@ -51646,9 +51670,9 @@ declare const device: z.ZodObject<{
|
|
|
51646
51670
|
} | undefined;
|
|
51647
51671
|
ultraloq_metadata?: {
|
|
51648
51672
|
device_id: string;
|
|
51673
|
+
time_zone: string | null;
|
|
51649
51674
|
device_name: string;
|
|
51650
51675
|
device_type: string;
|
|
51651
|
-
time_zone: string | null;
|
|
51652
51676
|
} | undefined;
|
|
51653
51677
|
ring_metadata?: {
|
|
51654
51678
|
device_id: string;
|
|
@@ -51926,9 +51950,9 @@ declare const device: z.ZodObject<{
|
|
|
51926
51950
|
} | undefined;
|
|
51927
51951
|
ultraloq_metadata?: {
|
|
51928
51952
|
device_id: string;
|
|
51953
|
+
time_zone: string | null;
|
|
51929
51954
|
device_name: string;
|
|
51930
51955
|
device_type: string;
|
|
51931
|
-
time_zone: string | null;
|
|
51932
51956
|
} | undefined;
|
|
51933
51957
|
ring_metadata?: {
|
|
51934
51958
|
device_id: string;
|
|
@@ -53896,9 +53920,9 @@ declare const device: z.ZodObject<{
|
|
|
53896
53920
|
} | undefined;
|
|
53897
53921
|
ultraloq_metadata?: {
|
|
53898
53922
|
device_id: string;
|
|
53923
|
+
time_zone: string | null;
|
|
53899
53924
|
device_name: string;
|
|
53900
53925
|
device_type: string;
|
|
53901
|
-
time_zone: string | null;
|
|
53902
53926
|
} | undefined;
|
|
53903
53927
|
ring_metadata?: {
|
|
53904
53928
|
device_id: string;
|
|
@@ -54624,9 +54648,9 @@ declare const device: z.ZodObject<{
|
|
|
54624
54648
|
} | undefined;
|
|
54625
54649
|
ultraloq_metadata?: {
|
|
54626
54650
|
device_id: string;
|
|
54651
|
+
time_zone: string | null;
|
|
54627
54652
|
device_name: string;
|
|
54628
54653
|
device_type: string;
|
|
54629
|
-
time_zone: string | null;
|
|
54630
54654
|
} | undefined;
|
|
54631
54655
|
ring_metadata?: {
|
|
54632
54656
|
device_id: string;
|
|
@@ -56023,14 +56047,14 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
56023
56047
|
time_zone: z.ZodNullable<z.ZodString>;
|
|
56024
56048
|
}, "strip", z.ZodTypeAny, {
|
|
56025
56049
|
device_id: string;
|
|
56050
|
+
time_zone: string | null;
|
|
56026
56051
|
device_name: string;
|
|
56027
56052
|
device_type: string;
|
|
56028
|
-
time_zone: string | null;
|
|
56029
56053
|
}, {
|
|
56030
56054
|
device_id: string;
|
|
56055
|
+
time_zone: string | null;
|
|
56031
56056
|
device_name: string;
|
|
56032
56057
|
device_type: string;
|
|
56033
|
-
time_zone: string | null;
|
|
56034
56058
|
}>>;
|
|
56035
56059
|
ring_metadata: z.ZodOptional<z.ZodObject<{
|
|
56036
56060
|
device_id: z.ZodString;
|
|
@@ -56330,9 +56354,9 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
56330
56354
|
} | undefined;
|
|
56331
56355
|
ultraloq_metadata?: {
|
|
56332
56356
|
device_id: string;
|
|
56357
|
+
time_zone: string | null;
|
|
56333
56358
|
device_name: string;
|
|
56334
56359
|
device_type: string;
|
|
56335
|
-
time_zone: string | null;
|
|
56336
56360
|
} | undefined;
|
|
56337
56361
|
ring_metadata?: {
|
|
56338
56362
|
device_id: string;
|
|
@@ -56610,9 +56634,9 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
56610
56634
|
} | undefined;
|
|
56611
56635
|
ultraloq_metadata?: {
|
|
56612
56636
|
device_id: string;
|
|
56637
|
+
time_zone: string | null;
|
|
56613
56638
|
device_name: string;
|
|
56614
56639
|
device_type: string;
|
|
56615
|
-
time_zone: string | null;
|
|
56616
56640
|
} | undefined;
|
|
56617
56641
|
ring_metadata?: {
|
|
56618
56642
|
device_id: string;
|
|
@@ -63791,13 +63815,13 @@ declare const space: z.ZodObject<{
|
|
|
63791
63815
|
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63792
63816
|
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63793
63817
|
}, "strip", z.ZodTypeAny, {
|
|
63794
|
-
time_zone?: string | null | undefined;
|
|
63795
63818
|
default_checkin_time?: string | null | undefined;
|
|
63796
63819
|
default_checkout_time?: string | null | undefined;
|
|
63797
|
-
}, {
|
|
63798
63820
|
time_zone?: string | null | undefined;
|
|
63821
|
+
}, {
|
|
63799
63822
|
default_checkin_time?: string | null | undefined;
|
|
63800
63823
|
default_checkout_time?: string | null | undefined;
|
|
63824
|
+
time_zone?: string | null | undefined;
|
|
63801
63825
|
}>>;
|
|
63802
63826
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
63803
63827
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
@@ -63812,9 +63836,9 @@ declare const space: z.ZodObject<{
|
|
|
63812
63836
|
customer_key?: string | undefined;
|
|
63813
63837
|
space_key?: string | undefined;
|
|
63814
63838
|
customer_data?: {
|
|
63815
|
-
time_zone?: string | null | undefined;
|
|
63816
63839
|
default_checkin_time?: string | null | undefined;
|
|
63817
63840
|
default_checkout_time?: string | null | undefined;
|
|
63841
|
+
time_zone?: string | null | undefined;
|
|
63818
63842
|
} | undefined;
|
|
63819
63843
|
parent_space_id?: string | undefined;
|
|
63820
63844
|
parent_space_key?: string | undefined;
|
|
@@ -63829,9 +63853,9 @@ declare const space: z.ZodObject<{
|
|
|
63829
63853
|
customer_key?: string | undefined;
|
|
63830
63854
|
space_key?: string | undefined;
|
|
63831
63855
|
customer_data?: {
|
|
63832
|
-
time_zone?: string | null | undefined;
|
|
63833
63856
|
default_checkin_time?: string | null | undefined;
|
|
63834
63857
|
default_checkout_time?: string | null | undefined;
|
|
63858
|
+
time_zone?: string | null | undefined;
|
|
63835
63859
|
} | undefined;
|
|
63836
63860
|
parent_space_id?: string | undefined;
|
|
63837
63861
|
parent_space_key?: string | undefined;
|
|
@@ -77345,6 +77369,12 @@ type Routes = {
|
|
|
77345
77369
|
customer_key?: string | undefined;
|
|
77346
77370
|
/** List of capabilities that were accepted during the account connection process. */
|
|
77347
77371
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
77372
|
+
/** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */
|
|
77373
|
+
default_checkin_time?: string | undefined;
|
|
77374
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
77375
|
+
default_checkout_time?: string | undefined;
|
|
77376
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
77377
|
+
time_zone?: string | undefined;
|
|
77348
77378
|
}[] | undefined;
|
|
77349
77379
|
acs_systems?: {
|
|
77350
77380
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -95753,6 +95783,12 @@ type Routes = {
|
|
|
95753
95783
|
customer_key?: string | undefined;
|
|
95754
95784
|
/** List of capabilities that were accepted during the account connection process. */
|
|
95755
95785
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
95786
|
+
/** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */
|
|
95787
|
+
default_checkin_time?: string | undefined;
|
|
95788
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
95789
|
+
default_checkout_time?: string | undefined;
|
|
95790
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
95791
|
+
time_zone?: string | undefined;
|
|
95756
95792
|
};
|
|
95757
95793
|
};
|
|
95758
95794
|
maxDuration: undefined;
|
|
@@ -95926,6 +95962,12 @@ type Routes = {
|
|
|
95926
95962
|
customer_key?: string | undefined;
|
|
95927
95963
|
/** List of capabilities that were accepted during the account connection process. */
|
|
95928
95964
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
95965
|
+
/** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */
|
|
95966
|
+
default_checkin_time?: string | undefined;
|
|
95967
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
95968
|
+
default_checkout_time?: string | undefined;
|
|
95969
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
95970
|
+
time_zone?: string | undefined;
|
|
95929
95971
|
}[];
|
|
95930
95972
|
/** Information about the current page of results. */
|
|
95931
95973
|
pagination: {
|
|
@@ -96131,6 +96173,12 @@ type Routes = {
|
|
|
96131
96173
|
customer_key?: string | undefined;
|
|
96132
96174
|
/** List of capabilities that were accepted during the account connection process. */
|
|
96133
96175
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
96176
|
+
/** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */
|
|
96177
|
+
default_checkin_time?: string | undefined;
|
|
96178
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
96179
|
+
default_checkout_time?: string | undefined;
|
|
96180
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
96181
|
+
time_zone?: string | undefined;
|
|
96134
96182
|
};
|
|
96135
96183
|
};
|
|
96136
96184
|
maxDuration: undefined;
|
|
@@ -132288,6 +132336,15 @@ type Routes = {
|
|
|
132288
132336
|
acs_entrance_ids?: string[] | undefined;
|
|
132289
132337
|
/** IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from. */
|
|
132290
132338
|
connected_account_ids?: string[] | undefined;
|
|
132339
|
+
/** 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. */
|
|
132340
|
+
customer_data?: {
|
|
132341
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
132342
|
+
time_zone?: (string | null) | undefined;
|
|
132343
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
132344
|
+
default_checkin_time?: (string | null) | undefined;
|
|
132345
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
132346
|
+
default_checkout_time?: (string | null) | undefined;
|
|
132347
|
+
} | undefined;
|
|
132291
132348
|
/** Space key of the parent space for this space. */
|
|
132292
132349
|
parent_space_key?: string | undefined;
|
|
132293
132350
|
/** Name of the parent space for this space. */
|
|
@@ -135223,6 +135280,12 @@ type Routes = {
|
|
|
135223
135280
|
customer_key?: string | undefined;
|
|
135224
135281
|
/** List of capabilities that were accepted during the account connection process. */
|
|
135225
135282
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
135283
|
+
/** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */
|
|
135284
|
+
default_checkin_time?: string | undefined;
|
|
135285
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
135286
|
+
default_checkout_time?: string | undefined;
|
|
135287
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
135288
|
+
time_zone?: string | undefined;
|
|
135226
135289
|
}[] | undefined;
|
|
135227
135290
|
acs_systems?: {
|
|
135228
135291
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -161441,6 +161504,12 @@ type Routes = {
|
|
|
161441
161504
|
customer_key?: string | undefined;
|
|
161442
161505
|
/** List of capabilities that were accepted during the account connection process. */
|
|
161443
161506
|
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
161507
|
+
/** Default reservation check-in time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration — set during the connect_webview for providers like Lodgify whose API does not expose check-in times. */
|
|
161508
|
+
default_checkin_time?: string | undefined;
|
|
161509
|
+
/** Default reservation check-out time for this connected account, as `HH:mm` (24-hour). Sourced from the connector configuration. */
|
|
161510
|
+
default_checkout_time?: string | undefined;
|
|
161511
|
+
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
161512
|
+
time_zone?: string | undefined;
|
|
161444
161513
|
}[] | undefined;
|
|
161445
161514
|
events?: ({
|
|
161446
161515
|
/** ID of the event. */
|
package/dist/index.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" },
|