@seamapi/types 1.339.0 → 1.340.1
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 +23 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +96 -87
- package/lib/seam/connect/models/devices/device.d.ts +19 -0
- package/lib/seam/connect/models/devices/phone-properties.d.ts +13 -0
- package/lib/seam/connect/models/devices/phone-properties.js +5 -0
- package/lib/seam/connect/models/devices/phone-properties.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +32 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +13 -0
- package/lib/seam/connect/models/events/acs/credentials.js +7 -4
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +19 -87
- package/lib/seam/connect/openapi.js +13 -0
- 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/devices/phone-properties.ts +6 -0
- package/src/lib/seam/connect/models/events/acs/credentials.ts +8 -7
- package/src/lib/seam/connect/openapi.ts +13 -0
- package/src/lib/seam/connect/route-types.ts +114 -0
package/dist/connect.d.cts
CHANGED
|
@@ -8396,6 +8396,13 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8396
8396
|
is_active: boolean;
|
|
8397
8397
|
}[];
|
|
8398
8398
|
}>>>;
|
|
8399
|
+
salto_space_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
8400
|
+
has_active_phone: z.ZodBoolean;
|
|
8401
|
+
}, "strip", z.ZodTypeAny, {
|
|
8402
|
+
has_active_phone: boolean;
|
|
8403
|
+
}, {
|
|
8404
|
+
has_active_phone: boolean;
|
|
8405
|
+
}>>>;
|
|
8399
8406
|
}, "strip", z.ZodTypeAny, {
|
|
8400
8407
|
assa_abloy_credential_service_metadata?: {
|
|
8401
8408
|
has_active_endpoint: boolean;
|
|
@@ -8404,6 +8411,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8404
8411
|
is_active: boolean;
|
|
8405
8412
|
}[];
|
|
8406
8413
|
} | undefined;
|
|
8414
|
+
salto_space_credential_service_metadata?: {
|
|
8415
|
+
has_active_phone: boolean;
|
|
8416
|
+
} | undefined;
|
|
8407
8417
|
}, {
|
|
8408
8418
|
assa_abloy_credential_service_metadata?: {
|
|
8409
8419
|
has_active_endpoint: boolean;
|
|
@@ -8412,6 +8422,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8412
8422
|
is_active: boolean;
|
|
8413
8423
|
}[];
|
|
8414
8424
|
} | undefined;
|
|
8425
|
+
salto_space_credential_service_metadata?: {
|
|
8426
|
+
has_active_phone: boolean;
|
|
8427
|
+
} | undefined;
|
|
8415
8428
|
}>>, z.ZodObject<{
|
|
8416
8429
|
august_metadata: z.ZodOptional<z.ZodObject<{
|
|
8417
8430
|
lock_id: z.ZodString;
|
|
@@ -10592,6 +10605,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10592
10605
|
is_active: boolean;
|
|
10593
10606
|
}[];
|
|
10594
10607
|
} | undefined;
|
|
10608
|
+
salto_space_credential_service_metadata?: {
|
|
10609
|
+
has_active_phone: boolean;
|
|
10610
|
+
} | undefined;
|
|
10595
10611
|
} & {
|
|
10596
10612
|
august_metadata?: {
|
|
10597
10613
|
lock_id: string;
|
|
@@ -11104,6 +11120,9 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11104
11120
|
is_active: boolean;
|
|
11105
11121
|
}[];
|
|
11106
11122
|
} | undefined;
|
|
11123
|
+
salto_space_credential_service_metadata?: {
|
|
11124
|
+
has_active_phone: boolean;
|
|
11125
|
+
} | undefined;
|
|
11107
11126
|
} & {
|
|
11108
11127
|
august_metadata?: {
|
|
11109
11128
|
lock_id: string;
|
|
@@ -11740,6 +11759,13 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
11740
11759
|
is_active: boolean;
|
|
11741
11760
|
}[];
|
|
11742
11761
|
}>>>;
|
|
11762
|
+
salto_space_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
11763
|
+
has_active_phone: z.ZodBoolean;
|
|
11764
|
+
}, "strip", z.ZodTypeAny, {
|
|
11765
|
+
has_active_phone: boolean;
|
|
11766
|
+
}, {
|
|
11767
|
+
has_active_phone: boolean;
|
|
11768
|
+
}>>>;
|
|
11743
11769
|
}, "strip", z.ZodTypeAny, {
|
|
11744
11770
|
assa_abloy_credential_service_metadata?: {
|
|
11745
11771
|
has_active_endpoint: boolean;
|
|
@@ -11748,6 +11774,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
11748
11774
|
is_active: boolean;
|
|
11749
11775
|
}[];
|
|
11750
11776
|
} | undefined;
|
|
11777
|
+
salto_space_credential_service_metadata?: {
|
|
11778
|
+
has_active_phone: boolean;
|
|
11779
|
+
} | undefined;
|
|
11751
11780
|
}, {
|
|
11752
11781
|
assa_abloy_credential_service_metadata?: {
|
|
11753
11782
|
has_active_endpoint: boolean;
|
|
@@ -11756,6 +11785,9 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
11756
11785
|
is_active: boolean;
|
|
11757
11786
|
}[];
|
|
11758
11787
|
} | undefined;
|
|
11788
|
+
salto_space_credential_service_metadata?: {
|
|
11789
|
+
has_active_phone: boolean;
|
|
11790
|
+
} | undefined;
|
|
11759
11791
|
}>>, z.ZodObject<{
|
|
11760
11792
|
august_metadata: z.ZodOptional<z.ZodObject<{
|
|
11761
11793
|
lock_id: z.ZodString;
|
|
@@ -19322,6 +19354,7 @@ declare const _default: {
|
|
|
19322
19354
|
'x-deprecated': string;
|
|
19323
19355
|
};
|
|
19324
19356
|
assa_abloy_credential_service_metadata?: never;
|
|
19357
|
+
salto_space_credential_service_metadata?: never;
|
|
19325
19358
|
};
|
|
19326
19359
|
required: string[];
|
|
19327
19360
|
type: string;
|
|
@@ -19351,6 +19384,15 @@ declare const _default: {
|
|
|
19351
19384
|
required: string[];
|
|
19352
19385
|
type: string;
|
|
19353
19386
|
};
|
|
19387
|
+
salto_space_credential_service_metadata: {
|
|
19388
|
+
properties: {
|
|
19389
|
+
has_active_phone: {
|
|
19390
|
+
type: string;
|
|
19391
|
+
};
|
|
19392
|
+
};
|
|
19393
|
+
required: string[];
|
|
19394
|
+
type: string;
|
|
19395
|
+
};
|
|
19354
19396
|
accessory_keypad?: never;
|
|
19355
19397
|
appearance?: never;
|
|
19356
19398
|
battery?: never;
|
|
@@ -21266,93 +21308,6 @@ declare const _default: {
|
|
|
21266
21308
|
'x-route-path': string;
|
|
21267
21309
|
deprecated?: never;
|
|
21268
21310
|
'x-deprecated'?: never;
|
|
21269
|
-
} | {
|
|
21270
|
-
description: string;
|
|
21271
|
-
properties: {
|
|
21272
|
-
acs_credential_id: {
|
|
21273
|
-
format: string;
|
|
21274
|
-
type: string;
|
|
21275
|
-
};
|
|
21276
|
-
acs_system_id: {
|
|
21277
|
-
description: string;
|
|
21278
|
-
format: string;
|
|
21279
|
-
type: string;
|
|
21280
|
-
};
|
|
21281
|
-
connected_account_id: {
|
|
21282
|
-
description: string;
|
|
21283
|
-
format: string;
|
|
21284
|
-
type: string;
|
|
21285
|
-
};
|
|
21286
|
-
created_at: {
|
|
21287
|
-
description: string;
|
|
21288
|
-
format: string;
|
|
21289
|
-
type: string;
|
|
21290
|
-
};
|
|
21291
|
-
event_id: {
|
|
21292
|
-
description: string;
|
|
21293
|
-
format: string;
|
|
21294
|
-
type: string;
|
|
21295
|
-
};
|
|
21296
|
-
event_type: {
|
|
21297
|
-
enum: string[];
|
|
21298
|
-
type: string;
|
|
21299
|
-
};
|
|
21300
|
-
occurred_at: {
|
|
21301
|
-
description: string;
|
|
21302
|
-
format: string;
|
|
21303
|
-
type: string;
|
|
21304
|
-
};
|
|
21305
|
-
workspace_id: {
|
|
21306
|
-
description: string;
|
|
21307
|
-
format: string;
|
|
21308
|
-
type: string;
|
|
21309
|
-
};
|
|
21310
|
-
access_code_id?: never;
|
|
21311
|
-
device_id?: never;
|
|
21312
|
-
code?: never;
|
|
21313
|
-
backup_access_code_id?: never;
|
|
21314
|
-
acs_user_id?: never;
|
|
21315
|
-
acs_encoder_id?: never;
|
|
21316
|
-
acs_access_group_id?: never;
|
|
21317
|
-
client_session_id?: never;
|
|
21318
|
-
connect_webview_id?: never;
|
|
21319
|
-
action_attempt_id?: never;
|
|
21320
|
-
action_type?: never;
|
|
21321
|
-
status?: never;
|
|
21322
|
-
error_code?: never;
|
|
21323
|
-
battery_level?: never;
|
|
21324
|
-
battery_status?: never;
|
|
21325
|
-
minut_metadata?: never;
|
|
21326
|
-
noise_level_decibels?: never;
|
|
21327
|
-
noise_level_nrs?: never;
|
|
21328
|
-
noise_threshold_id?: never;
|
|
21329
|
-
noise_threshold_name?: never;
|
|
21330
|
-
noiseaware_metadata?: never;
|
|
21331
|
-
method?: never;
|
|
21332
|
-
climate_preset_key?: never;
|
|
21333
|
-
is_fallback_climate_preset?: never;
|
|
21334
|
-
thermostat_schedule_id?: never;
|
|
21335
|
-
cooling_set_point_celsius?: never;
|
|
21336
|
-
cooling_set_point_fahrenheit?: never;
|
|
21337
|
-
fan_mode_setting?: never;
|
|
21338
|
-
heating_set_point_celsius?: never;
|
|
21339
|
-
heating_set_point_fahrenheit?: never;
|
|
21340
|
-
hvac_mode_setting?: never;
|
|
21341
|
-
lower_limit_celsius?: never;
|
|
21342
|
-
lower_limit_fahrenheit?: never;
|
|
21343
|
-
temperature_celsius?: never;
|
|
21344
|
-
temperature_fahrenheit?: never;
|
|
21345
|
-
upper_limit_celsius?: never;
|
|
21346
|
-
upper_limit_fahrenheit?: never;
|
|
21347
|
-
desired_temperature_celsius?: never;
|
|
21348
|
-
desired_temperature_fahrenheit?: never;
|
|
21349
|
-
enrollment_automation_id?: never;
|
|
21350
|
-
};
|
|
21351
|
-
required: string[];
|
|
21352
|
-
type: string;
|
|
21353
|
-
'x-route-path'?: never;
|
|
21354
|
-
deprecated?: never;
|
|
21355
|
-
'x-deprecated'?: never;
|
|
21356
21311
|
} | {
|
|
21357
21312
|
description: string;
|
|
21358
21313
|
properties: {
|
|
@@ -23472,6 +23427,15 @@ declare const _default: {
|
|
|
23472
23427
|
required: string[];
|
|
23473
23428
|
type: string;
|
|
23474
23429
|
};
|
|
23430
|
+
salto_space_credential_service_metadata: {
|
|
23431
|
+
properties: {
|
|
23432
|
+
has_active_phone: {
|
|
23433
|
+
type: string;
|
|
23434
|
+
};
|
|
23435
|
+
};
|
|
23436
|
+
required: string[];
|
|
23437
|
+
type: string;
|
|
23438
|
+
};
|
|
23475
23439
|
};
|
|
23476
23440
|
type: string;
|
|
23477
23441
|
};
|
|
@@ -53350,6 +53314,9 @@ interface Routes {
|
|
|
53350
53314
|
is_active: boolean;
|
|
53351
53315
|
}>;
|
|
53352
53316
|
} | undefined) | undefined;
|
|
53317
|
+
salto_space_credential_service_metadata?: ({
|
|
53318
|
+
has_active_phone: boolean;
|
|
53319
|
+
} | undefined) | undefined;
|
|
53353
53320
|
}) & {
|
|
53354
53321
|
august_metadata?: {
|
|
53355
53322
|
lock_id: string;
|
|
@@ -54035,6 +54002,9 @@ interface Routes {
|
|
|
54035
54002
|
is_active: boolean;
|
|
54036
54003
|
}>;
|
|
54037
54004
|
} | undefined) | undefined;
|
|
54005
|
+
salto_space_credential_service_metadata?: ({
|
|
54006
|
+
has_active_phone: boolean;
|
|
54007
|
+
} | undefined) | undefined;
|
|
54038
54008
|
}) & {
|
|
54039
54009
|
august_metadata?: {
|
|
54040
54010
|
lock_id: string;
|
|
@@ -57666,6 +57636,9 @@ interface Routes {
|
|
|
57666
57636
|
is_active: boolean;
|
|
57667
57637
|
}>;
|
|
57668
57638
|
} | undefined) | undefined;
|
|
57639
|
+
salto_space_credential_service_metadata?: ({
|
|
57640
|
+
has_active_phone: boolean;
|
|
57641
|
+
} | undefined) | undefined;
|
|
57669
57642
|
}) & {
|
|
57670
57643
|
august_metadata?: {
|
|
57671
57644
|
lock_id: string;
|
|
@@ -58315,6 +58288,9 @@ interface Routes {
|
|
|
58315
58288
|
is_active: boolean;
|
|
58316
58289
|
}>;
|
|
58317
58290
|
} | undefined) | undefined;
|
|
58291
|
+
salto_space_credential_service_metadata?: ({
|
|
58292
|
+
has_active_phone: boolean;
|
|
58293
|
+
} | undefined) | undefined;
|
|
58318
58294
|
}) & {
|
|
58319
58295
|
august_metadata?: {
|
|
58320
58296
|
lock_id: string;
|
|
@@ -59000,6 +58976,9 @@ interface Routes {
|
|
|
59000
58976
|
is_active: boolean;
|
|
59001
58977
|
}>;
|
|
59002
58978
|
} | undefined) | undefined;
|
|
58979
|
+
salto_space_credential_service_metadata?: ({
|
|
58980
|
+
has_active_phone: boolean;
|
|
58981
|
+
} | undefined) | undefined;
|
|
59003
58982
|
}) & {
|
|
59004
58983
|
august_metadata?: {
|
|
59005
58984
|
lock_id: string;
|
|
@@ -59648,6 +59627,9 @@ interface Routes {
|
|
|
59648
59627
|
is_active: boolean;
|
|
59649
59628
|
}>;
|
|
59650
59629
|
} | undefined) | undefined;
|
|
59630
|
+
salto_space_credential_service_metadata?: ({
|
|
59631
|
+
has_active_phone: boolean;
|
|
59632
|
+
} | undefined) | undefined;
|
|
59651
59633
|
}) & {
|
|
59652
59634
|
august_metadata?: {
|
|
59653
59635
|
lock_id: string;
|
|
@@ -62106,6 +62088,9 @@ interface Routes {
|
|
|
62106
62088
|
is_active: boolean;
|
|
62107
62089
|
}>;
|
|
62108
62090
|
} | undefined) | undefined;
|
|
62091
|
+
salto_space_credential_service_metadata?: ({
|
|
62092
|
+
has_active_phone: boolean;
|
|
62093
|
+
} | undefined) | undefined;
|
|
62109
62094
|
}) & {
|
|
62110
62095
|
august_metadata?: {
|
|
62111
62096
|
lock_id: string;
|
|
@@ -62754,6 +62739,9 @@ interface Routes {
|
|
|
62754
62739
|
is_active: boolean;
|
|
62755
62740
|
}>;
|
|
62756
62741
|
} | undefined) | undefined;
|
|
62742
|
+
salto_space_credential_service_metadata?: ({
|
|
62743
|
+
has_active_phone: boolean;
|
|
62744
|
+
} | undefined) | undefined;
|
|
62757
62745
|
}) & {
|
|
62758
62746
|
august_metadata?: {
|
|
62759
62747
|
lock_id: string;
|
|
@@ -66041,6 +66029,9 @@ interface Routes {
|
|
|
66041
66029
|
is_active: boolean;
|
|
66042
66030
|
}>;
|
|
66043
66031
|
} | undefined;
|
|
66032
|
+
salto_space_credential_service_metadata?: {
|
|
66033
|
+
has_active_phone: boolean;
|
|
66034
|
+
} | undefined;
|
|
66044
66035
|
};
|
|
66045
66036
|
/** Location information for the device. */
|
|
66046
66037
|
location: {
|
|
@@ -66257,6 +66248,9 @@ interface Routes {
|
|
|
66257
66248
|
is_active: boolean;
|
|
66258
66249
|
}>;
|
|
66259
66250
|
} | undefined;
|
|
66251
|
+
salto_space_credential_service_metadata?: {
|
|
66252
|
+
has_active_phone: boolean;
|
|
66253
|
+
} | undefined;
|
|
66260
66254
|
};
|
|
66261
66255
|
/** Location information for the device. */
|
|
66262
66256
|
location: {
|
|
@@ -68321,6 +68315,9 @@ interface Routes {
|
|
|
68321
68315
|
is_active: boolean;
|
|
68322
68316
|
}>;
|
|
68323
68317
|
} | undefined) | undefined;
|
|
68318
|
+
salto_space_credential_service_metadata?: ({
|
|
68319
|
+
has_active_phone: boolean;
|
|
68320
|
+
} | undefined) | undefined;
|
|
68324
68321
|
}) & {
|
|
68325
68322
|
august_metadata?: {
|
|
68326
68323
|
lock_id: string;
|
|
@@ -70760,6 +70757,9 @@ interface Routes {
|
|
|
70760
70757
|
is_active: boolean;
|
|
70761
70758
|
}>;
|
|
70762
70759
|
} | undefined) | undefined;
|
|
70760
|
+
salto_space_credential_service_metadata?: ({
|
|
70761
|
+
has_active_phone: boolean;
|
|
70762
|
+
} | undefined) | undefined;
|
|
70763
70763
|
}) & {
|
|
70764
70764
|
august_metadata?: {
|
|
70765
70765
|
lock_id: string;
|
|
@@ -71408,6 +71408,9 @@ interface Routes {
|
|
|
71408
71408
|
is_active: boolean;
|
|
71409
71409
|
}>;
|
|
71410
71410
|
} | undefined) | undefined;
|
|
71411
|
+
salto_space_credential_service_metadata?: ({
|
|
71412
|
+
has_active_phone: boolean;
|
|
71413
|
+
} | undefined) | undefined;
|
|
71411
71414
|
}) & {
|
|
71412
71415
|
august_metadata?: {
|
|
71413
71416
|
lock_id: string;
|
|
@@ -75172,6 +75175,9 @@ interface Routes {
|
|
|
75172
75175
|
is_active: boolean;
|
|
75173
75176
|
}>;
|
|
75174
75177
|
} | undefined) | undefined;
|
|
75178
|
+
salto_space_credential_service_metadata?: ({
|
|
75179
|
+
has_active_phone: boolean;
|
|
75180
|
+
} | undefined) | undefined;
|
|
75175
75181
|
}) & {
|
|
75176
75182
|
august_metadata?: {
|
|
75177
75183
|
lock_id: string;
|
|
@@ -75822,6 +75828,9 @@ interface Routes {
|
|
|
75822
75828
|
is_active: boolean;
|
|
75823
75829
|
}>;
|
|
75824
75830
|
} | undefined) | undefined;
|
|
75831
|
+
salto_space_credential_service_metadata?: ({
|
|
75832
|
+
has_active_phone: boolean;
|
|
75833
|
+
} | undefined) | undefined;
|
|
75825
75834
|
}) & {
|
|
75826
75835
|
august_metadata?: {
|
|
75827
75836
|
lock_id: string;
|
|
@@ -718,6 +718,13 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
718
718
|
is_active: boolean;
|
|
719
719
|
}[];
|
|
720
720
|
}>>>;
|
|
721
|
+
salto_space_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
722
|
+
has_active_phone: z.ZodBoolean;
|
|
723
|
+
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
has_active_phone: boolean;
|
|
725
|
+
}, {
|
|
726
|
+
has_active_phone: boolean;
|
|
727
|
+
}>>>;
|
|
721
728
|
}, "strip", z.ZodTypeAny, {
|
|
722
729
|
assa_abloy_credential_service_metadata?: {
|
|
723
730
|
has_active_endpoint: boolean;
|
|
@@ -726,6 +733,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
726
733
|
is_active: boolean;
|
|
727
734
|
}[];
|
|
728
735
|
} | undefined;
|
|
736
|
+
salto_space_credential_service_metadata?: {
|
|
737
|
+
has_active_phone: boolean;
|
|
738
|
+
} | undefined;
|
|
729
739
|
}, {
|
|
730
740
|
assa_abloy_credential_service_metadata?: {
|
|
731
741
|
has_active_endpoint: boolean;
|
|
@@ -734,6 +744,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
734
744
|
is_active: boolean;
|
|
735
745
|
}[];
|
|
736
746
|
} | undefined;
|
|
747
|
+
salto_space_credential_service_metadata?: {
|
|
748
|
+
has_active_phone: boolean;
|
|
749
|
+
} | undefined;
|
|
737
750
|
}>>, z.ZodObject<{
|
|
738
751
|
august_metadata: z.ZodOptional<z.ZodObject<{
|
|
739
752
|
lock_id: z.ZodString;
|
|
@@ -2918,6 +2931,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2918
2931
|
is_active: boolean;
|
|
2919
2932
|
}[];
|
|
2920
2933
|
} | undefined;
|
|
2934
|
+
salto_space_credential_service_metadata?: {
|
|
2935
|
+
has_active_phone: boolean;
|
|
2936
|
+
} | undefined;
|
|
2921
2937
|
} & {
|
|
2922
2938
|
august_metadata?: {
|
|
2923
2939
|
lock_id: string;
|
|
@@ -3430,6 +3446,9 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3430
3446
|
is_active: boolean;
|
|
3431
3447
|
}[];
|
|
3432
3448
|
} | undefined;
|
|
3449
|
+
salto_space_credential_service_metadata?: {
|
|
3450
|
+
has_active_phone: boolean;
|
|
3451
|
+
} | undefined;
|
|
3433
3452
|
} & {
|
|
3434
3453
|
august_metadata?: {
|
|
3435
3454
|
lock_id: string;
|
|
@@ -25,6 +25,13 @@ export declare const phone_specific_properties: z.ZodObject<{
|
|
|
25
25
|
is_active: boolean;
|
|
26
26
|
}[];
|
|
27
27
|
}>>;
|
|
28
|
+
salto_space_credential_service_metadata: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
has_active_phone: z.ZodBoolean;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
has_active_phone: boolean;
|
|
32
|
+
}, {
|
|
33
|
+
has_active_phone: boolean;
|
|
34
|
+
}>>;
|
|
28
35
|
}, "strip", z.ZodTypeAny, {
|
|
29
36
|
assa_abloy_credential_service_metadata?: {
|
|
30
37
|
has_active_endpoint: boolean;
|
|
@@ -33,6 +40,9 @@ export declare const phone_specific_properties: z.ZodObject<{
|
|
|
33
40
|
is_active: boolean;
|
|
34
41
|
}[];
|
|
35
42
|
} | undefined;
|
|
43
|
+
salto_space_credential_service_metadata?: {
|
|
44
|
+
has_active_phone: boolean;
|
|
45
|
+
} | undefined;
|
|
36
46
|
}, {
|
|
37
47
|
assa_abloy_credential_service_metadata?: {
|
|
38
48
|
has_active_endpoint: boolean;
|
|
@@ -41,4 +51,7 @@ export declare const phone_specific_properties: z.ZodObject<{
|
|
|
41
51
|
is_active: boolean;
|
|
42
52
|
}[];
|
|
43
53
|
} | undefined;
|
|
54
|
+
salto_space_credential_service_metadata?: {
|
|
55
|
+
has_active_phone: boolean;
|
|
56
|
+
} | undefined;
|
|
44
57
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-properties.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/phone-properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,sCAAsC,EAAE,CAAC;SACtC,MAAM,CAAC;QACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;QAChC,SAAS,EAAE,CAAC,CAAC,KAAK,CAChB,CAAC,CAAC,MAAM,CAAC;YACP,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;YACvB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;SACvB,CAAC,CACH;KACF,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"phone-properties.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/phone-properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,sCAAsC,EAAE,CAAC;SACtC,MAAM,CAAC;QACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;QAChC,SAAS,EAAE,CAAC,CAAC,KAAK,CAChB,CAAC,CAAC,MAAM,CAAC;YACP,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;YACvB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;SACvB,CAAC,CACH;KACF,CAAC;SACD,QAAQ,EAAE;IAEb,uCAAuC,EAAE,CAAC;SACvC,MAAM,CAAC;QACN,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;KAC9B,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA"}
|
|
@@ -183,6 +183,13 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
183
183
|
is_active: boolean;
|
|
184
184
|
}[];
|
|
185
185
|
}>>>;
|
|
186
|
+
salto_space_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
187
|
+
has_active_phone: z.ZodBoolean;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
has_active_phone: boolean;
|
|
190
|
+
}, {
|
|
191
|
+
has_active_phone: boolean;
|
|
192
|
+
}>>>;
|
|
186
193
|
}, "strip", z.ZodTypeAny, {
|
|
187
194
|
assa_abloy_credential_service_metadata?: {
|
|
188
195
|
has_active_endpoint: boolean;
|
|
@@ -191,6 +198,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
191
198
|
is_active: boolean;
|
|
192
199
|
}[];
|
|
193
200
|
} | undefined;
|
|
201
|
+
salto_space_credential_service_metadata?: {
|
|
202
|
+
has_active_phone: boolean;
|
|
203
|
+
} | undefined;
|
|
194
204
|
}, {
|
|
195
205
|
assa_abloy_credential_service_metadata?: {
|
|
196
206
|
has_active_endpoint: boolean;
|
|
@@ -199,6 +209,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
199
209
|
is_active: boolean;
|
|
200
210
|
}[];
|
|
201
211
|
} | undefined;
|
|
212
|
+
salto_space_credential_service_metadata?: {
|
|
213
|
+
has_active_phone: boolean;
|
|
214
|
+
} | undefined;
|
|
202
215
|
}>>, z.ZodObject<{
|
|
203
216
|
august_metadata: z.ZodOptional<z.ZodObject<{
|
|
204
217
|
lock_id: z.ZodString;
|
|
@@ -2245,6 +2258,13 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2245
2258
|
is_active: boolean;
|
|
2246
2259
|
}[];
|
|
2247
2260
|
}>>;
|
|
2261
|
+
salto_space_credential_service_metadata: z.ZodOptional<z.ZodObject<{
|
|
2262
|
+
has_active_phone: z.ZodBoolean;
|
|
2263
|
+
}, "strip", z.ZodTypeAny, {
|
|
2264
|
+
has_active_phone: boolean;
|
|
2265
|
+
}, {
|
|
2266
|
+
has_active_phone: boolean;
|
|
2267
|
+
}>>;
|
|
2248
2268
|
}, "strip", z.ZodTypeAny, {
|
|
2249
2269
|
assa_abloy_credential_service_metadata?: {
|
|
2250
2270
|
has_active_endpoint: boolean;
|
|
@@ -2253,6 +2273,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2253
2273
|
is_active: boolean;
|
|
2254
2274
|
}[];
|
|
2255
2275
|
} | undefined;
|
|
2276
|
+
salto_space_credential_service_metadata?: {
|
|
2277
|
+
has_active_phone: boolean;
|
|
2278
|
+
} | undefined;
|
|
2256
2279
|
}, {
|
|
2257
2280
|
assa_abloy_credential_service_metadata?: {
|
|
2258
2281
|
has_active_endpoint: boolean;
|
|
@@ -2261,6 +2284,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2261
2284
|
is_active: boolean;
|
|
2262
2285
|
}[];
|
|
2263
2286
|
} | undefined;
|
|
2287
|
+
salto_space_credential_service_metadata?: {
|
|
2288
|
+
has_active_phone: boolean;
|
|
2289
|
+
} | undefined;
|
|
2264
2290
|
}>;
|
|
2265
2291
|
}>, "strip", z.ZodTypeAny, {
|
|
2266
2292
|
location: {
|
|
@@ -2391,6 +2417,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2391
2417
|
is_active: boolean;
|
|
2392
2418
|
}[];
|
|
2393
2419
|
} | undefined;
|
|
2420
|
+
salto_space_credential_service_metadata?: {
|
|
2421
|
+
has_active_phone: boolean;
|
|
2422
|
+
} | undefined;
|
|
2394
2423
|
};
|
|
2395
2424
|
workspace_id: string;
|
|
2396
2425
|
is_managed: true;
|
|
@@ -2535,6 +2564,9 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2535
2564
|
is_active: boolean;
|
|
2536
2565
|
}[];
|
|
2537
2566
|
} | undefined;
|
|
2567
|
+
salto_space_credential_service_metadata?: {
|
|
2568
|
+
has_active_phone: boolean;
|
|
2569
|
+
} | undefined;
|
|
2538
2570
|
};
|
|
2539
2571
|
workspace_id: string;
|
|
2540
2572
|
is_managed: true;
|
|
@@ -182,6 +182,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
182
182
|
is_active: boolean;
|
|
183
183
|
}[];
|
|
184
184
|
}>>>;
|
|
185
|
+
salto_space_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
186
|
+
has_active_phone: z.ZodBoolean;
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
has_active_phone: boolean;
|
|
189
|
+
}, {
|
|
190
|
+
has_active_phone: boolean;
|
|
191
|
+
}>>>;
|
|
185
192
|
}, "strip", z.ZodTypeAny, {
|
|
186
193
|
assa_abloy_credential_service_metadata?: {
|
|
187
194
|
has_active_endpoint: boolean;
|
|
@@ -190,6 +197,9 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
190
197
|
is_active: boolean;
|
|
191
198
|
}[];
|
|
192
199
|
} | undefined;
|
|
200
|
+
salto_space_credential_service_metadata?: {
|
|
201
|
+
has_active_phone: boolean;
|
|
202
|
+
} | undefined;
|
|
193
203
|
}, {
|
|
194
204
|
assa_abloy_credential_service_metadata?: {
|
|
195
205
|
has_active_endpoint: boolean;
|
|
@@ -198,6 +208,9 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
198
208
|
is_active: boolean;
|
|
199
209
|
}[];
|
|
200
210
|
} | undefined;
|
|
211
|
+
salto_space_credential_service_metadata?: {
|
|
212
|
+
has_active_phone: boolean;
|
|
213
|
+
} | undefined;
|
|
201
214
|
}>>, z.ZodObject<{
|
|
202
215
|
august_metadata: z.ZodOptional<z.ZodObject<{
|
|
203
216
|
lock_id: z.ZodString;
|
|
@@ -19,11 +19,14 @@ export const acs_credential_issued = acs_credential_event.extend({
|
|
|
19
19
|
---
|
|
20
20
|
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was issued.
|
|
21
21
|
`);
|
|
22
|
-
export const acs_credential_reissued = acs_credential_event
|
|
23
|
-
.extend({
|
|
22
|
+
export const acs_credential_reissued = acs_credential_event.extend({
|
|
24
23
|
event_type: z.literal('acs_credential.reissued'),
|
|
25
|
-
})
|
|
26
|
-
|
|
24
|
+
}).describe(`
|
|
25
|
+
---
|
|
26
|
+
route_path: /acs/credentials
|
|
27
|
+
---
|
|
28
|
+
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued.
|
|
29
|
+
`);
|
|
27
30
|
export const acs_credential_events = [
|
|
28
31
|
acs_credential_deleted_event,
|
|
29
32
|
acs_credential_issued,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACrC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACrC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,MAAM,CAAC;IACjE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC;CACjD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,4BAA4B;IAC5B,qBAAqB;IACrB,uBAAuB;CACf,CAAA"}
|