@seamapi/types 1.693.0 → 1.695.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 +68 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +178 -0
- package/dist/index.cjs +68 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -0
- package/lib/seam/connect/models/events/devices.d.ts +12 -0
- package/lib/seam/connect/models/events/devices.js +8 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -0
- package/lib/seam/connect/openapi.d.ts +115 -0
- package/lib/seam/connect/openapi.js +62 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +47 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +65 -0
- package/src/lib/seam/connect/route-types.ts +47 -0
package/dist/connect.d.cts
CHANGED
|
@@ -28279,6 +28279,7 @@ declare const batch: z.ZodObject<{
|
|
|
28279
28279
|
} & {
|
|
28280
28280
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
28281
28281
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
28282
|
+
access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
|
|
28282
28283
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
28283
28284
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
28284
28285
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28294,6 +28295,7 @@ declare const batch: z.ZodObject<{
|
|
|
28294
28295
|
action_attempt_id?: string | undefined;
|
|
28295
28296
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28296
28297
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28298
|
+
access_code_is_managed?: boolean | undefined;
|
|
28297
28299
|
}, {
|
|
28298
28300
|
device_id: string;
|
|
28299
28301
|
workspace_id: string;
|
|
@@ -28307,6 +28309,7 @@ declare const batch: z.ZodObject<{
|
|
|
28307
28309
|
action_attempt_id?: string | undefined;
|
|
28308
28310
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28309
28311
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28312
|
+
access_code_is_managed?: boolean | undefined;
|
|
28310
28313
|
}>, z.ZodObject<{
|
|
28311
28314
|
event_id: z.ZodString;
|
|
28312
28315
|
workspace_id: z.ZodString;
|
|
@@ -28318,6 +28321,7 @@ declare const batch: z.ZodObject<{
|
|
|
28318
28321
|
} & {
|
|
28319
28322
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
28320
28323
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
28324
|
+
access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
|
|
28321
28325
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
28322
28326
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
28323
28327
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -28342,6 +28346,7 @@ declare const batch: z.ZodObject<{
|
|
|
28342
28346
|
action_attempt_id?: string | undefined;
|
|
28343
28347
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28344
28348
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28349
|
+
access_code_is_managed?: boolean | undefined;
|
|
28345
28350
|
}, {
|
|
28346
28351
|
workspace_id: string;
|
|
28347
28352
|
created_at: string;
|
|
@@ -28359,6 +28364,7 @@ declare const batch: z.ZodObject<{
|
|
|
28359
28364
|
action_attempt_id?: string | undefined;
|
|
28360
28365
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28361
28366
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28367
|
+
access_code_is_managed?: boolean | undefined;
|
|
28362
28368
|
}>, z.ZodObject<{
|
|
28363
28369
|
event_id: z.ZodString;
|
|
28364
28370
|
workspace_id: z.ZodString;
|
|
@@ -35369,6 +35375,7 @@ declare const batch: z.ZodObject<{
|
|
|
35369
35375
|
action_attempt_id?: string | undefined;
|
|
35370
35376
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35371
35377
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35378
|
+
access_code_is_managed?: boolean | undefined;
|
|
35372
35379
|
} | {
|
|
35373
35380
|
workspace_id: string;
|
|
35374
35381
|
created_at: string;
|
|
@@ -35386,6 +35393,7 @@ declare const batch: z.ZodObject<{
|
|
|
35386
35393
|
action_attempt_id?: string | undefined;
|
|
35387
35394
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35388
35395
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35396
|
+
access_code_is_managed?: boolean | undefined;
|
|
35389
35397
|
} | {
|
|
35390
35398
|
device_id: string;
|
|
35391
35399
|
workspace_id: string;
|
|
@@ -39444,6 +39452,7 @@ declare const batch: z.ZodObject<{
|
|
|
39444
39452
|
action_attempt_id?: string | undefined;
|
|
39445
39453
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
39446
39454
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
39455
|
+
access_code_is_managed?: boolean | undefined;
|
|
39447
39456
|
} | {
|
|
39448
39457
|
workspace_id: string;
|
|
39449
39458
|
created_at: string;
|
|
@@ -39461,6 +39470,7 @@ declare const batch: z.ZodObject<{
|
|
|
39461
39470
|
action_attempt_id?: string | undefined;
|
|
39462
39471
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
39463
39472
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
39473
|
+
access_code_is_managed?: boolean | undefined;
|
|
39464
39474
|
} | {
|
|
39465
39475
|
device_id: string;
|
|
39466
39476
|
workspace_id: string;
|
|
@@ -52165,6 +52175,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
52165
52175
|
} & {
|
|
52166
52176
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
52167
52177
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
52178
|
+
access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
|
|
52168
52179
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
52169
52180
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
52170
52181
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -52180,6 +52191,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
52180
52191
|
action_attempt_id?: string | undefined;
|
|
52181
52192
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52182
52193
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52194
|
+
access_code_is_managed?: boolean | undefined;
|
|
52183
52195
|
}, {
|
|
52184
52196
|
device_id: string;
|
|
52185
52197
|
workspace_id: string;
|
|
@@ -52193,6 +52205,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
52193
52205
|
action_attempt_id?: string | undefined;
|
|
52194
52206
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52195
52207
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52208
|
+
access_code_is_managed?: boolean | undefined;
|
|
52196
52209
|
}>, z.ZodObject<{
|
|
52197
52210
|
event_id: z.ZodString;
|
|
52198
52211
|
workspace_id: z.ZodString;
|
|
@@ -52204,6 +52217,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
52204
52217
|
} & {
|
|
52205
52218
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
52206
52219
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
52220
|
+
access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
|
|
52207
52221
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
52208
52222
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
52209
52223
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -52228,6 +52242,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
52228
52242
|
action_attempt_id?: string | undefined;
|
|
52229
52243
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52230
52244
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52245
|
+
access_code_is_managed?: boolean | undefined;
|
|
52231
52246
|
}, {
|
|
52232
52247
|
workspace_id: string;
|
|
52233
52248
|
created_at: string;
|
|
@@ -52245,6 +52260,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
52245
52260
|
action_attempt_id?: string | undefined;
|
|
52246
52261
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52247
52262
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
52263
|
+
access_code_is_managed?: boolean | undefined;
|
|
52248
52264
|
}>, z.ZodObject<{
|
|
52249
52265
|
event_id: z.ZodString;
|
|
52250
52266
|
workspace_id: z.ZodString;
|
|
@@ -60801,6 +60817,7 @@ declare const _default: {
|
|
|
60801
60817
|
noise_threshold_id?: never;
|
|
60802
60818
|
noise_threshold_name?: never;
|
|
60803
60819
|
noiseaware_metadata?: never;
|
|
60820
|
+
access_code_is_managed?: never;
|
|
60804
60821
|
method?: never;
|
|
60805
60822
|
user_identity_id?: never;
|
|
60806
60823
|
climate_preset_key?: never;
|
|
@@ -60929,6 +60946,7 @@ declare const _default: {
|
|
|
60929
60946
|
noise_threshold_id?: never;
|
|
60930
60947
|
noise_threshold_name?: never;
|
|
60931
60948
|
noiseaware_metadata?: never;
|
|
60949
|
+
access_code_is_managed?: never;
|
|
60932
60950
|
method?: never;
|
|
60933
60951
|
user_identity_id?: never;
|
|
60934
60952
|
climate_preset_key?: never;
|
|
@@ -61057,6 +61075,7 @@ declare const _default: {
|
|
|
61057
61075
|
noise_threshold_id?: never;
|
|
61058
61076
|
noise_threshold_name?: never;
|
|
61059
61077
|
noiseaware_metadata?: never;
|
|
61078
|
+
access_code_is_managed?: never;
|
|
61060
61079
|
method?: never;
|
|
61061
61080
|
user_identity_id?: never;
|
|
61062
61081
|
climate_preset_key?: never;
|
|
@@ -61183,6 +61202,7 @@ declare const _default: {
|
|
|
61183
61202
|
noise_threshold_id?: never;
|
|
61184
61203
|
noise_threshold_name?: never;
|
|
61185
61204
|
noiseaware_metadata?: never;
|
|
61205
|
+
access_code_is_managed?: never;
|
|
61186
61206
|
method?: never;
|
|
61187
61207
|
user_identity_id?: never;
|
|
61188
61208
|
climate_preset_key?: never;
|
|
@@ -61283,6 +61303,7 @@ declare const _default: {
|
|
|
61283
61303
|
noise_threshold_id?: never;
|
|
61284
61304
|
noise_threshold_name?: never;
|
|
61285
61305
|
noiseaware_metadata?: never;
|
|
61306
|
+
access_code_is_managed?: never;
|
|
61286
61307
|
method?: never;
|
|
61287
61308
|
user_identity_id?: never;
|
|
61288
61309
|
climate_preset_key?: never;
|
|
@@ -61387,6 +61408,7 @@ declare const _default: {
|
|
|
61387
61408
|
noise_threshold_id?: never;
|
|
61388
61409
|
noise_threshold_name?: never;
|
|
61389
61410
|
noiseaware_metadata?: never;
|
|
61411
|
+
access_code_is_managed?: never;
|
|
61390
61412
|
method?: never;
|
|
61391
61413
|
user_identity_id?: never;
|
|
61392
61414
|
climate_preset_key?: never;
|
|
@@ -61496,6 +61518,7 @@ declare const _default: {
|
|
|
61496
61518
|
noise_threshold_id?: never;
|
|
61497
61519
|
noise_threshold_name?: never;
|
|
61498
61520
|
noiseaware_metadata?: never;
|
|
61521
|
+
access_code_is_managed?: never;
|
|
61499
61522
|
method?: never;
|
|
61500
61523
|
user_identity_id?: never;
|
|
61501
61524
|
climate_preset_key?: never;
|
|
@@ -61616,6 +61639,7 @@ declare const _default: {
|
|
|
61616
61639
|
noise_threshold_id?: never;
|
|
61617
61640
|
noise_threshold_name?: never;
|
|
61618
61641
|
noiseaware_metadata?: never;
|
|
61642
|
+
access_code_is_managed?: never;
|
|
61619
61643
|
method?: never;
|
|
61620
61644
|
user_identity_id?: never;
|
|
61621
61645
|
climate_preset_key?: never;
|
|
@@ -61729,6 +61753,7 @@ declare const _default: {
|
|
|
61729
61753
|
noise_threshold_id?: never;
|
|
61730
61754
|
noise_threshold_name?: never;
|
|
61731
61755
|
noiseaware_metadata?: never;
|
|
61756
|
+
access_code_is_managed?: never;
|
|
61732
61757
|
method?: never;
|
|
61733
61758
|
user_identity_id?: never;
|
|
61734
61759
|
climate_preset_key?: never;
|
|
@@ -61833,6 +61858,7 @@ declare const _default: {
|
|
|
61833
61858
|
noise_threshold_id?: never;
|
|
61834
61859
|
noise_threshold_name?: never;
|
|
61835
61860
|
noiseaware_metadata?: never;
|
|
61861
|
+
access_code_is_managed?: never;
|
|
61836
61862
|
method?: never;
|
|
61837
61863
|
user_identity_id?: never;
|
|
61838
61864
|
climate_preset_key?: never;
|
|
@@ -61941,6 +61967,7 @@ declare const _default: {
|
|
|
61941
61967
|
noise_threshold_id?: never;
|
|
61942
61968
|
noise_threshold_name?: never;
|
|
61943
61969
|
noiseaware_metadata?: never;
|
|
61970
|
+
access_code_is_managed?: never;
|
|
61944
61971
|
method?: never;
|
|
61945
61972
|
user_identity_id?: never;
|
|
61946
61973
|
climate_preset_key?: never;
|
|
@@ -62049,6 +62076,7 @@ declare const _default: {
|
|
|
62049
62076
|
noise_threshold_id?: never;
|
|
62050
62077
|
noise_threshold_name?: never;
|
|
62051
62078
|
noiseaware_metadata?: never;
|
|
62079
|
+
access_code_is_managed?: never;
|
|
62052
62080
|
method?: never;
|
|
62053
62081
|
user_identity_id?: never;
|
|
62054
62082
|
climate_preset_key?: never;
|
|
@@ -62157,6 +62185,7 @@ declare const _default: {
|
|
|
62157
62185
|
noise_threshold_id?: never;
|
|
62158
62186
|
noise_threshold_name?: never;
|
|
62159
62187
|
noiseaware_metadata?: never;
|
|
62188
|
+
access_code_is_managed?: never;
|
|
62160
62189
|
method?: never;
|
|
62161
62190
|
user_identity_id?: never;
|
|
62162
62191
|
climate_preset_key?: never;
|
|
@@ -62265,6 +62294,7 @@ declare const _default: {
|
|
|
62265
62294
|
noise_threshold_id?: never;
|
|
62266
62295
|
noise_threshold_name?: never;
|
|
62267
62296
|
noiseaware_metadata?: never;
|
|
62297
|
+
access_code_is_managed?: never;
|
|
62268
62298
|
method?: never;
|
|
62269
62299
|
user_identity_id?: never;
|
|
62270
62300
|
climate_preset_key?: never;
|
|
@@ -62373,6 +62403,7 @@ declare const _default: {
|
|
|
62373
62403
|
noise_threshold_id?: never;
|
|
62374
62404
|
noise_threshold_name?: never;
|
|
62375
62405
|
noiseaware_metadata?: never;
|
|
62406
|
+
access_code_is_managed?: never;
|
|
62376
62407
|
method?: never;
|
|
62377
62408
|
user_identity_id?: never;
|
|
62378
62409
|
climate_preset_key?: never;
|
|
@@ -62473,6 +62504,7 @@ declare const _default: {
|
|
|
62473
62504
|
noise_threshold_id?: never;
|
|
62474
62505
|
noise_threshold_name?: never;
|
|
62475
62506
|
noiseaware_metadata?: never;
|
|
62507
|
+
access_code_is_managed?: never;
|
|
62476
62508
|
method?: never;
|
|
62477
62509
|
user_identity_id?: never;
|
|
62478
62510
|
climate_preset_key?: never;
|
|
@@ -62588,6 +62620,7 @@ declare const _default: {
|
|
|
62588
62620
|
noise_threshold_id?: never;
|
|
62589
62621
|
noise_threshold_name?: never;
|
|
62590
62622
|
noiseaware_metadata?: never;
|
|
62623
|
+
access_code_is_managed?: never;
|
|
62591
62624
|
method?: never;
|
|
62592
62625
|
user_identity_id?: never;
|
|
62593
62626
|
climate_preset_key?: never;
|
|
@@ -62700,6 +62733,7 @@ declare const _default: {
|
|
|
62700
62733
|
noise_threshold_id?: never;
|
|
62701
62734
|
noise_threshold_name?: never;
|
|
62702
62735
|
noiseaware_metadata?: never;
|
|
62736
|
+
access_code_is_managed?: never;
|
|
62703
62737
|
method?: never;
|
|
62704
62738
|
user_identity_id?: never;
|
|
62705
62739
|
climate_preset_key?: never;
|
|
@@ -62813,6 +62847,7 @@ declare const _default: {
|
|
|
62813
62847
|
noise_threshold_id?: never;
|
|
62814
62848
|
noise_threshold_name?: never;
|
|
62815
62849
|
noiseaware_metadata?: never;
|
|
62850
|
+
access_code_is_managed?: never;
|
|
62816
62851
|
method?: never;
|
|
62817
62852
|
user_identity_id?: never;
|
|
62818
62853
|
climate_preset_key?: never;
|
|
@@ -62920,6 +62955,7 @@ declare const _default: {
|
|
|
62920
62955
|
noise_threshold_id?: never;
|
|
62921
62956
|
noise_threshold_name?: never;
|
|
62922
62957
|
noiseaware_metadata?: never;
|
|
62958
|
+
access_code_is_managed?: never;
|
|
62923
62959
|
method?: never;
|
|
62924
62960
|
user_identity_id?: never;
|
|
62925
62961
|
climate_preset_key?: never;
|
|
@@ -63034,6 +63070,7 @@ declare const _default: {
|
|
|
63034
63070
|
noise_threshold_id?: never;
|
|
63035
63071
|
noise_threshold_name?: never;
|
|
63036
63072
|
noiseaware_metadata?: never;
|
|
63073
|
+
access_code_is_managed?: never;
|
|
63037
63074
|
method?: never;
|
|
63038
63075
|
user_identity_id?: never;
|
|
63039
63076
|
climate_preset_key?: never;
|
|
@@ -63140,6 +63177,7 @@ declare const _default: {
|
|
|
63140
63177
|
noise_threshold_id?: never;
|
|
63141
63178
|
noise_threshold_name?: never;
|
|
63142
63179
|
noiseaware_metadata?: never;
|
|
63180
|
+
access_code_is_managed?: never;
|
|
63143
63181
|
method?: never;
|
|
63144
63182
|
user_identity_id?: never;
|
|
63145
63183
|
climate_preset_key?: never;
|
|
@@ -63240,6 +63278,7 @@ declare const _default: {
|
|
|
63240
63278
|
noise_threshold_id?: never;
|
|
63241
63279
|
noise_threshold_name?: never;
|
|
63242
63280
|
noiseaware_metadata?: never;
|
|
63281
|
+
access_code_is_managed?: never;
|
|
63243
63282
|
method?: never;
|
|
63244
63283
|
user_identity_id?: never;
|
|
63245
63284
|
climate_preset_key?: never;
|
|
@@ -63360,6 +63399,7 @@ declare const _default: {
|
|
|
63360
63399
|
noise_threshold_id?: never;
|
|
63361
63400
|
noise_threshold_name?: never;
|
|
63362
63401
|
noiseaware_metadata?: never;
|
|
63402
|
+
access_code_is_managed?: never;
|
|
63363
63403
|
method?: never;
|
|
63364
63404
|
user_identity_id?: never;
|
|
63365
63405
|
climate_preset_key?: never;
|
|
@@ -63484,6 +63524,7 @@ declare const _default: {
|
|
|
63484
63524
|
noise_threshold_id?: never;
|
|
63485
63525
|
noise_threshold_name?: never;
|
|
63486
63526
|
noiseaware_metadata?: never;
|
|
63527
|
+
access_code_is_managed?: never;
|
|
63487
63528
|
method?: never;
|
|
63488
63529
|
user_identity_id?: never;
|
|
63489
63530
|
climate_preset_key?: never;
|
|
@@ -63610,6 +63651,7 @@ declare const _default: {
|
|
|
63610
63651
|
noise_threshold_id?: never;
|
|
63611
63652
|
noise_threshold_name?: never;
|
|
63612
63653
|
noiseaware_metadata?: never;
|
|
63654
|
+
access_code_is_managed?: never;
|
|
63613
63655
|
method?: never;
|
|
63614
63656
|
user_identity_id?: never;
|
|
63615
63657
|
climate_preset_key?: never;
|
|
@@ -63740,6 +63782,7 @@ declare const _default: {
|
|
|
63740
63782
|
noise_threshold_id?: never;
|
|
63741
63783
|
noise_threshold_name?: never;
|
|
63742
63784
|
noiseaware_metadata?: never;
|
|
63785
|
+
access_code_is_managed?: never;
|
|
63743
63786
|
method?: never;
|
|
63744
63787
|
user_identity_id?: never;
|
|
63745
63788
|
climate_preset_key?: never;
|
|
@@ -63883,6 +63926,7 @@ declare const _default: {
|
|
|
63883
63926
|
error_code?: never;
|
|
63884
63927
|
battery_level?: never;
|
|
63885
63928
|
battery_status?: never;
|
|
63929
|
+
access_code_is_managed?: never;
|
|
63886
63930
|
method?: never;
|
|
63887
63931
|
user_identity_id?: never;
|
|
63888
63932
|
climate_preset_key?: never;
|
|
@@ -63922,6 +63966,10 @@ declare const _default: {
|
|
|
63922
63966
|
format: string;
|
|
63923
63967
|
type: string;
|
|
63924
63968
|
};
|
|
63969
|
+
access_code_is_managed: {
|
|
63970
|
+
description: string;
|
|
63971
|
+
type: string;
|
|
63972
|
+
};
|
|
63925
63973
|
action_attempt_id: {
|
|
63926
63974
|
description: string;
|
|
63927
63975
|
format: string;
|
|
@@ -64054,6 +64102,10 @@ declare const _default: {
|
|
|
64054
64102
|
format: string;
|
|
64055
64103
|
type: string;
|
|
64056
64104
|
};
|
|
64105
|
+
access_code_is_managed: {
|
|
64106
|
+
description: string;
|
|
64107
|
+
type: string;
|
|
64108
|
+
};
|
|
64057
64109
|
acs_entrance_id: {
|
|
64058
64110
|
description: string;
|
|
64059
64111
|
format: string;
|
|
@@ -64297,6 +64349,7 @@ declare const _default: {
|
|
|
64297
64349
|
noise_threshold_id?: never;
|
|
64298
64350
|
noise_threshold_name?: never;
|
|
64299
64351
|
noiseaware_metadata?: never;
|
|
64352
|
+
access_code_is_managed?: never;
|
|
64300
64353
|
method?: never;
|
|
64301
64354
|
user_identity_id?: never;
|
|
64302
64355
|
cooling_set_point_celsius?: never;
|
|
@@ -64449,6 +64502,7 @@ declare const _default: {
|
|
|
64449
64502
|
noise_threshold_id?: never;
|
|
64450
64503
|
noise_threshold_name?: never;
|
|
64451
64504
|
noiseaware_metadata?: never;
|
|
64505
|
+
access_code_is_managed?: never;
|
|
64452
64506
|
user_identity_id?: never;
|
|
64453
64507
|
climate_preset_key?: never;
|
|
64454
64508
|
is_fallback_climate_preset?: never;
|
|
@@ -64596,6 +64650,7 @@ declare const _default: {
|
|
|
64596
64650
|
noise_threshold_id?: never;
|
|
64597
64651
|
noise_threshold_name?: never;
|
|
64598
64652
|
noiseaware_metadata?: never;
|
|
64653
|
+
access_code_is_managed?: never;
|
|
64599
64654
|
method?: never;
|
|
64600
64655
|
user_identity_id?: never;
|
|
64601
64656
|
climate_preset_key?: never;
|
|
@@ -64730,6 +64785,7 @@ declare const _default: {
|
|
|
64730
64785
|
noise_threshold_id?: never;
|
|
64731
64786
|
noise_threshold_name?: never;
|
|
64732
64787
|
noiseaware_metadata?: never;
|
|
64788
|
+
access_code_is_managed?: never;
|
|
64733
64789
|
method?: never;
|
|
64734
64790
|
user_identity_id?: never;
|
|
64735
64791
|
climate_preset_key?: never;
|
|
@@ -64856,6 +64912,7 @@ declare const _default: {
|
|
|
64856
64912
|
noise_threshold_id?: never;
|
|
64857
64913
|
noise_threshold_name?: never;
|
|
64858
64914
|
noiseaware_metadata?: never;
|
|
64915
|
+
access_code_is_managed?: never;
|
|
64859
64916
|
method?: never;
|
|
64860
64917
|
user_identity_id?: never;
|
|
64861
64918
|
climate_preset_key?: never;
|
|
@@ -64978,6 +65035,7 @@ declare const _default: {
|
|
|
64978
65035
|
noise_threshold_id?: never;
|
|
64979
65036
|
noise_threshold_name?: never;
|
|
64980
65037
|
noiseaware_metadata?: never;
|
|
65038
|
+
access_code_is_managed?: never;
|
|
64981
65039
|
method?: never;
|
|
64982
65040
|
user_identity_id?: never;
|
|
64983
65041
|
climate_preset_key?: never;
|
|
@@ -65078,6 +65136,7 @@ declare const _default: {
|
|
|
65078
65136
|
noise_threshold_id?: never;
|
|
65079
65137
|
noise_threshold_name?: never;
|
|
65080
65138
|
noiseaware_metadata?: never;
|
|
65139
|
+
access_code_is_managed?: never;
|
|
65081
65140
|
method?: never;
|
|
65082
65141
|
user_identity_id?: never;
|
|
65083
65142
|
climate_preset_key?: never;
|
|
@@ -65185,6 +65244,7 @@ declare const _default: {
|
|
|
65185
65244
|
noise_threshold_id?: never;
|
|
65186
65245
|
noise_threshold_name?: never;
|
|
65187
65246
|
noiseaware_metadata?: never;
|
|
65247
|
+
access_code_is_managed?: never;
|
|
65188
65248
|
method?: never;
|
|
65189
65249
|
user_identity_id?: never;
|
|
65190
65250
|
climate_preset_key?: never;
|
|
@@ -65306,6 +65366,7 @@ declare const _default: {
|
|
|
65306
65366
|
noise_threshold_id?: never;
|
|
65307
65367
|
noise_threshold_name?: never;
|
|
65308
65368
|
noiseaware_metadata?: never;
|
|
65369
|
+
access_code_is_managed?: never;
|
|
65309
65370
|
method?: never;
|
|
65310
65371
|
user_identity_id?: never;
|
|
65311
65372
|
climate_preset_key?: never;
|
|
@@ -99097,6 +99158,76 @@ declare const _default: {
|
|
|
99097
99158
|
'x-undocumented': string;
|
|
99098
99159
|
};
|
|
99099
99160
|
};
|
|
99161
|
+
'/seam/customer/v1/customers/open_portal': {
|
|
99162
|
+
post: {
|
|
99163
|
+
description: string;
|
|
99164
|
+
operationId: string;
|
|
99165
|
+
requestBody: {
|
|
99166
|
+
content: {
|
|
99167
|
+
'application/json': {
|
|
99168
|
+
schema: {
|
|
99169
|
+
properties: {
|
|
99170
|
+
customer_key: {
|
|
99171
|
+
description: string;
|
|
99172
|
+
type: string;
|
|
99173
|
+
};
|
|
99174
|
+
};
|
|
99175
|
+
required: string[];
|
|
99176
|
+
type: string;
|
|
99177
|
+
};
|
|
99178
|
+
};
|
|
99179
|
+
};
|
|
99180
|
+
};
|
|
99181
|
+
responses: {
|
|
99182
|
+
200: {
|
|
99183
|
+
content: {
|
|
99184
|
+
'application/json': {
|
|
99185
|
+
schema: {
|
|
99186
|
+
properties: {
|
|
99187
|
+
magic_link: {
|
|
99188
|
+
$ref: string;
|
|
99189
|
+
};
|
|
99190
|
+
ok: {
|
|
99191
|
+
type: string;
|
|
99192
|
+
};
|
|
99193
|
+
};
|
|
99194
|
+
required: string[];
|
|
99195
|
+
type: string;
|
|
99196
|
+
};
|
|
99197
|
+
};
|
|
99198
|
+
};
|
|
99199
|
+
description: string;
|
|
99200
|
+
};
|
|
99201
|
+
400: {
|
|
99202
|
+
description: string;
|
|
99203
|
+
};
|
|
99204
|
+
401: {
|
|
99205
|
+
description: string;
|
|
99206
|
+
};
|
|
99207
|
+
};
|
|
99208
|
+
security: ({
|
|
99209
|
+
pat_with_workspace: never[];
|
|
99210
|
+
console_session_with_workspace?: never;
|
|
99211
|
+
api_key?: never;
|
|
99212
|
+
} | {
|
|
99213
|
+
console_session_with_workspace: never[];
|
|
99214
|
+
pat_with_workspace?: never;
|
|
99215
|
+
api_key?: never;
|
|
99216
|
+
} | {
|
|
99217
|
+
api_key: never[];
|
|
99218
|
+
pat_with_workspace?: never;
|
|
99219
|
+
console_session_with_workspace?: never;
|
|
99220
|
+
})[];
|
|
99221
|
+
summary: string;
|
|
99222
|
+
tags: never[];
|
|
99223
|
+
'x-fern-sdk-group-name': string[];
|
|
99224
|
+
'x-fern-sdk-method-name': string;
|
|
99225
|
+
'x-fern-sdk-return-value': string;
|
|
99226
|
+
'x-response-key': string;
|
|
99227
|
+
'x-title': string;
|
|
99228
|
+
'x-undocumented': string;
|
|
99229
|
+
};
|
|
99230
|
+
};
|
|
99100
99231
|
'/seam/customer/v1/events/list': {
|
|
99101
99232
|
get: {
|
|
99102
99233
|
description: string;
|
|
@@ -147185,6 +147316,8 @@ type Routes = {
|
|
|
147185
147316
|
event_type: 'lock.locked';
|
|
147186
147317
|
/** ID of the access code that was used to lock the device. */
|
|
147187
147318
|
access_code_id?: string | undefined;
|
|
147319
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
147320
|
+
access_code_is_managed?: boolean | undefined;
|
|
147188
147321
|
/** ID of the action attempt associated with the lock action. */
|
|
147189
147322
|
action_attempt_id?: string | undefined;
|
|
147190
147323
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -147213,6 +147346,8 @@ type Routes = {
|
|
|
147213
147346
|
event_type: 'lock.unlocked';
|
|
147214
147347
|
/** ID of the access code that was used to unlock the affected device. */
|
|
147215
147348
|
access_code_id?: string | undefined;
|
|
147349
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
147350
|
+
access_code_is_managed?: boolean | undefined;
|
|
147216
147351
|
/** ID of the action attempt associated with the unlock action. */
|
|
147217
147352
|
action_attempt_id?: string | undefined;
|
|
147218
147353
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -149179,6 +149314,8 @@ type Routes = {
|
|
|
149179
149314
|
event_type: 'lock.locked';
|
|
149180
149315
|
/** ID of the access code that was used to lock the device. */
|
|
149181
149316
|
access_code_id?: string | undefined;
|
|
149317
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
149318
|
+
access_code_is_managed?: boolean | undefined;
|
|
149182
149319
|
/** ID of the action attempt associated with the lock action. */
|
|
149183
149320
|
action_attempt_id?: string | undefined;
|
|
149184
149321
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -149207,6 +149344,8 @@ type Routes = {
|
|
|
149207
149344
|
event_type: 'lock.unlocked';
|
|
149208
149345
|
/** ID of the access code that was used to unlock the affected device. */
|
|
149209
149346
|
access_code_id?: string | undefined;
|
|
149347
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
149348
|
+
access_code_is_managed?: boolean | undefined;
|
|
149210
149349
|
/** ID of the action attempt associated with the unlock action. */
|
|
149211
149350
|
action_attempt_id?: string | undefined;
|
|
149212
149351
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -167408,6 +167547,37 @@ type Routes = {
|
|
|
167408
167547
|
};
|
|
167409
167548
|
maxDuration: undefined;
|
|
167410
167549
|
};
|
|
167550
|
+
'/seam/customer/v1/customers/open_portal': {
|
|
167551
|
+
route: '/seam/customer/v1/customers/open_portal';
|
|
167552
|
+
method: 'POST';
|
|
167553
|
+
queryParams: {};
|
|
167554
|
+
jsonBody: {};
|
|
167555
|
+
commonParams: {
|
|
167556
|
+
/** The customer key to open a portal for. */
|
|
167557
|
+
customer_key: string;
|
|
167558
|
+
};
|
|
167559
|
+
formData: {};
|
|
167560
|
+
jsonResponse: {
|
|
167561
|
+
/** Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product—either by sharing a link with users or embedding a view in an iframe.
|
|
167562
|
+
|
|
167563
|
+
With Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.
|
|
167564
|
+
|
|
167565
|
+
Seam hosts these flows, handling everything from account connection and device mapping to full-featured device control. */
|
|
167566
|
+
magic_link: {
|
|
167567
|
+
/** URL for the magic link. */
|
|
167568
|
+
url: string;
|
|
167569
|
+
/** Customer key for the magic link. */
|
|
167570
|
+
customer_key: string;
|
|
167571
|
+
/** Date and time at which the magic link expires. */
|
|
167572
|
+
expires_at: string;
|
|
167573
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the magic link. */
|
|
167574
|
+
workspace_id: string;
|
|
167575
|
+
/** Date and time at which the magic link was created. */
|
|
167576
|
+
created_at: string;
|
|
167577
|
+
};
|
|
167578
|
+
};
|
|
167579
|
+
maxDuration: undefined;
|
|
167580
|
+
};
|
|
167411
167581
|
'/seam/customer/v1/events/list': {
|
|
167412
167582
|
route: '/seam/customer/v1/events/list';
|
|
167413
167583
|
method: 'GET' | 'POST';
|
|
@@ -169032,6 +169202,8 @@ type Routes = {
|
|
|
169032
169202
|
event_type: 'lock.locked';
|
|
169033
169203
|
/** ID of the access code that was used to lock the device. */
|
|
169034
169204
|
access_code_id?: string | undefined;
|
|
169205
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
169206
|
+
access_code_is_managed?: boolean | undefined;
|
|
169035
169207
|
/** ID of the action attempt associated with the lock action. */
|
|
169036
169208
|
action_attempt_id?: string | undefined;
|
|
169037
169209
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -169060,6 +169232,8 @@ type Routes = {
|
|
|
169060
169232
|
event_type: 'lock.unlocked';
|
|
169061
169233
|
/** ID of the access code that was used to unlock the affected device. */
|
|
169062
169234
|
access_code_id?: string | undefined;
|
|
169235
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
169236
|
+
access_code_is_managed?: boolean | undefined;
|
|
169063
169237
|
/** ID of the action attempt associated with the unlock action. */
|
|
169064
169238
|
action_attempt_id?: string | undefined;
|
|
169065
169239
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|
|
@@ -197755,6 +197929,8 @@ type Routes = {
|
|
|
197755
197929
|
event_type: 'lock.locked';
|
|
197756
197930
|
/** ID of the access code that was used to lock the device. */
|
|
197757
197931
|
access_code_id?: string | undefined;
|
|
197932
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
197933
|
+
access_code_is_managed?: boolean | undefined;
|
|
197758
197934
|
/** ID of the action attempt associated with the lock action. */
|
|
197759
197935
|
action_attempt_id?: string | undefined;
|
|
197760
197936
|
/** Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device. */
|
|
@@ -197783,6 +197959,8 @@ type Routes = {
|
|
|
197783
197959
|
event_type: 'lock.unlocked';
|
|
197784
197960
|
/** ID of the access code that was used to unlock the affected device. */
|
|
197785
197961
|
access_code_id?: string | undefined;
|
|
197962
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
197963
|
+
access_code_is_managed?: boolean | undefined;
|
|
197786
197964
|
/** ID of the action attempt associated with the unlock action. */
|
|
197787
197965
|
action_attempt_id?: string | undefined;
|
|
197788
197966
|
/** Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device. */
|