@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
|
@@ -13184,6 +13184,9 @@ export interface Routes {
|
|
|
13184
13184
|
is_active: boolean;
|
|
13185
13185
|
}>;
|
|
13186
13186
|
} | undefined) | undefined;
|
|
13187
|
+
salto_space_credential_service_metadata?: ({
|
|
13188
|
+
has_active_phone: boolean;
|
|
13189
|
+
} | undefined) | undefined;
|
|
13187
13190
|
}) & {
|
|
13188
13191
|
august_metadata?: {
|
|
13189
13192
|
lock_id: string;
|
|
@@ -13869,6 +13872,9 @@ export interface Routes {
|
|
|
13869
13872
|
is_active: boolean;
|
|
13870
13873
|
}>;
|
|
13871
13874
|
} | undefined) | undefined;
|
|
13875
|
+
salto_space_credential_service_metadata?: ({
|
|
13876
|
+
has_active_phone: boolean;
|
|
13877
|
+
} | undefined) | undefined;
|
|
13872
13878
|
}) & {
|
|
13873
13879
|
august_metadata?: {
|
|
13874
13880
|
lock_id: string;
|
|
@@ -17500,6 +17506,9 @@ export interface Routes {
|
|
|
17500
17506
|
is_active: boolean;
|
|
17501
17507
|
}>;
|
|
17502
17508
|
} | undefined) | undefined;
|
|
17509
|
+
salto_space_credential_service_metadata?: ({
|
|
17510
|
+
has_active_phone: boolean;
|
|
17511
|
+
} | undefined) | undefined;
|
|
17503
17512
|
}) & {
|
|
17504
17513
|
august_metadata?: {
|
|
17505
17514
|
lock_id: string;
|
|
@@ -18149,6 +18158,9 @@ export interface Routes {
|
|
|
18149
18158
|
is_active: boolean;
|
|
18150
18159
|
}>;
|
|
18151
18160
|
} | undefined) | undefined;
|
|
18161
|
+
salto_space_credential_service_metadata?: ({
|
|
18162
|
+
has_active_phone: boolean;
|
|
18163
|
+
} | undefined) | undefined;
|
|
18152
18164
|
}) & {
|
|
18153
18165
|
august_metadata?: {
|
|
18154
18166
|
lock_id: string;
|
|
@@ -18834,6 +18846,9 @@ export interface Routes {
|
|
|
18834
18846
|
is_active: boolean;
|
|
18835
18847
|
}>;
|
|
18836
18848
|
} | undefined) | undefined;
|
|
18849
|
+
salto_space_credential_service_metadata?: ({
|
|
18850
|
+
has_active_phone: boolean;
|
|
18851
|
+
} | undefined) | undefined;
|
|
18837
18852
|
}) & {
|
|
18838
18853
|
august_metadata?: {
|
|
18839
18854
|
lock_id: string;
|
|
@@ -19482,6 +19497,9 @@ export interface Routes {
|
|
|
19482
19497
|
is_active: boolean;
|
|
19483
19498
|
}>;
|
|
19484
19499
|
} | undefined) | undefined;
|
|
19500
|
+
salto_space_credential_service_metadata?: ({
|
|
19501
|
+
has_active_phone: boolean;
|
|
19502
|
+
} | undefined) | undefined;
|
|
19485
19503
|
}) & {
|
|
19486
19504
|
august_metadata?: {
|
|
19487
19505
|
lock_id: string;
|
|
@@ -21940,6 +21958,9 @@ export interface Routes {
|
|
|
21940
21958
|
is_active: boolean;
|
|
21941
21959
|
}>;
|
|
21942
21960
|
} | undefined) | undefined;
|
|
21961
|
+
salto_space_credential_service_metadata?: ({
|
|
21962
|
+
has_active_phone: boolean;
|
|
21963
|
+
} | undefined) | undefined;
|
|
21943
21964
|
}) & {
|
|
21944
21965
|
august_metadata?: {
|
|
21945
21966
|
lock_id: string;
|
|
@@ -22588,6 +22609,9 @@ export interface Routes {
|
|
|
22588
22609
|
is_active: boolean;
|
|
22589
22610
|
}>;
|
|
22590
22611
|
} | undefined) | undefined;
|
|
22612
|
+
salto_space_credential_service_metadata?: ({
|
|
22613
|
+
has_active_phone: boolean;
|
|
22614
|
+
} | undefined) | undefined;
|
|
22591
22615
|
}) & {
|
|
22592
22616
|
august_metadata?: {
|
|
22593
22617
|
lock_id: string;
|
|
@@ -25875,6 +25899,9 @@ export interface Routes {
|
|
|
25875
25899
|
is_active: boolean;
|
|
25876
25900
|
}>;
|
|
25877
25901
|
} | undefined;
|
|
25902
|
+
salto_space_credential_service_metadata?: {
|
|
25903
|
+
has_active_phone: boolean;
|
|
25904
|
+
} | undefined;
|
|
25878
25905
|
};
|
|
25879
25906
|
/** Location information for the device. */
|
|
25880
25907
|
location: {
|
|
@@ -26091,6 +26118,9 @@ export interface Routes {
|
|
|
26091
26118
|
is_active: boolean;
|
|
26092
26119
|
}>;
|
|
26093
26120
|
} | undefined;
|
|
26121
|
+
salto_space_credential_service_metadata?: {
|
|
26122
|
+
has_active_phone: boolean;
|
|
26123
|
+
} | undefined;
|
|
26094
26124
|
};
|
|
26095
26125
|
/** Location information for the device. */
|
|
26096
26126
|
location: {
|
|
@@ -28155,6 +28185,9 @@ export interface Routes {
|
|
|
28155
28185
|
is_active: boolean;
|
|
28156
28186
|
}>;
|
|
28157
28187
|
} | undefined) | undefined;
|
|
28188
|
+
salto_space_credential_service_metadata?: ({
|
|
28189
|
+
has_active_phone: boolean;
|
|
28190
|
+
} | undefined) | undefined;
|
|
28158
28191
|
}) & {
|
|
28159
28192
|
august_metadata?: {
|
|
28160
28193
|
lock_id: string;
|
|
@@ -30594,6 +30627,9 @@ export interface Routes {
|
|
|
30594
30627
|
is_active: boolean;
|
|
30595
30628
|
}>;
|
|
30596
30629
|
} | undefined) | undefined;
|
|
30630
|
+
salto_space_credential_service_metadata?: ({
|
|
30631
|
+
has_active_phone: boolean;
|
|
30632
|
+
} | undefined) | undefined;
|
|
30597
30633
|
}) & {
|
|
30598
30634
|
august_metadata?: {
|
|
30599
30635
|
lock_id: string;
|
|
@@ -31242,6 +31278,9 @@ export interface Routes {
|
|
|
31242
31278
|
is_active: boolean;
|
|
31243
31279
|
}>;
|
|
31244
31280
|
} | undefined) | undefined;
|
|
31281
|
+
salto_space_credential_service_metadata?: ({
|
|
31282
|
+
has_active_phone: boolean;
|
|
31283
|
+
} | undefined) | undefined;
|
|
31245
31284
|
}) & {
|
|
31246
31285
|
august_metadata?: {
|
|
31247
31286
|
lock_id: string;
|
|
@@ -35006,6 +35045,9 @@ export interface Routes {
|
|
|
35006
35045
|
is_active: boolean;
|
|
35007
35046
|
}>;
|
|
35008
35047
|
} | undefined) | undefined;
|
|
35048
|
+
salto_space_credential_service_metadata?: ({
|
|
35049
|
+
has_active_phone: boolean;
|
|
35050
|
+
} | undefined) | undefined;
|
|
35009
35051
|
}) & {
|
|
35010
35052
|
august_metadata?: {
|
|
35011
35053
|
lock_id: string;
|
|
@@ -35656,6 +35698,9 @@ export interface Routes {
|
|
|
35656
35698
|
is_active: boolean;
|
|
35657
35699
|
}>;
|
|
35658
35700
|
} | undefined) | undefined;
|
|
35701
|
+
salto_space_credential_service_metadata?: ({
|
|
35702
|
+
has_active_phone: boolean;
|
|
35703
|
+
} | undefined) | undefined;
|
|
35659
35704
|
}) & {
|
|
35660
35705
|
august_metadata?: {
|
|
35661
35706
|
lock_id: string;
|
package/package.json
CHANGED
|
@@ -28,13 +28,14 @@ export const acs_credential_issued = acs_credential_event.extend({
|
|
|
28
28
|
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was issued.
|
|
29
29
|
`)
|
|
30
30
|
|
|
31
|
-
export const acs_credential_reissued = acs_credential_event
|
|
32
|
-
.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
)
|
|
31
|
+
export const acs_credential_reissued = acs_credential_event.extend({
|
|
32
|
+
event_type: z.literal('acs_credential.reissued'),
|
|
33
|
+
}).describe(`
|
|
34
|
+
---
|
|
35
|
+
route_path: /acs/credentials
|
|
36
|
+
---
|
|
37
|
+
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued.
|
|
38
|
+
`)
|
|
38
39
|
|
|
39
40
|
export const acs_credential_events = [
|
|
40
41
|
acs_credential_deleted_event,
|
|
@@ -6023,6 +6023,13 @@ export default {
|
|
|
6023
6023
|
required: ['has_active_endpoint', 'endpoints'],
|
|
6024
6024
|
type: 'object',
|
|
6025
6025
|
},
|
|
6026
|
+
salto_space_credential_service_metadata: {
|
|
6027
|
+
properties: {
|
|
6028
|
+
has_active_phone: { type: 'boolean' },
|
|
6029
|
+
},
|
|
6030
|
+
required: ['has_active_phone'],
|
|
6031
|
+
type: 'object',
|
|
6032
|
+
},
|
|
6026
6033
|
},
|
|
6027
6034
|
type: 'object',
|
|
6028
6035
|
},
|
|
@@ -8830,6 +8837,7 @@ export default {
|
|
|
8830
8837
|
'event_type',
|
|
8831
8838
|
],
|
|
8832
8839
|
type: 'object',
|
|
8840
|
+
'x-route-path': '/acs/credentials',
|
|
8833
8841
|
},
|
|
8834
8842
|
{
|
|
8835
8843
|
description:
|
|
@@ -12151,6 +12159,11 @@ export default {
|
|
|
12151
12159
|
required: ['has_active_endpoint', 'endpoints'],
|
|
12152
12160
|
type: 'object',
|
|
12153
12161
|
},
|
|
12162
|
+
salto_space_credential_service_metadata: {
|
|
12163
|
+
properties: { has_active_phone: { type: 'boolean' } },
|
|
12164
|
+
required: ['has_active_phone'],
|
|
12165
|
+
type: 'object',
|
|
12166
|
+
},
|
|
12154
12167
|
},
|
|
12155
12168
|
type: 'object',
|
|
12156
12169
|
},
|
|
@@ -15872,6 +15872,14 @@ export interface Routes {
|
|
|
15872
15872
|
| undefined
|
|
15873
15873
|
)
|
|
15874
15874
|
| undefined
|
|
15875
|
+
salto_space_credential_service_metadata?:
|
|
15876
|
+
| (
|
|
15877
|
+
| {
|
|
15878
|
+
has_active_phone: boolean
|
|
15879
|
+
}
|
|
15880
|
+
| undefined
|
|
15881
|
+
)
|
|
15882
|
+
| undefined
|
|
15875
15883
|
}) & {
|
|
15876
15884
|
august_metadata?:
|
|
15877
15885
|
| {
|
|
@@ -16923,6 +16931,14 @@ export interface Routes {
|
|
|
16923
16931
|
| undefined
|
|
16924
16932
|
)
|
|
16925
16933
|
| undefined
|
|
16934
|
+
salto_space_credential_service_metadata?:
|
|
16935
|
+
| (
|
|
16936
|
+
| {
|
|
16937
|
+
has_active_phone: boolean
|
|
16938
|
+
}
|
|
16939
|
+
| undefined
|
|
16940
|
+
)
|
|
16941
|
+
| undefined
|
|
16926
16942
|
}) & {
|
|
16927
16943
|
august_metadata?:
|
|
16928
16944
|
| {
|
|
@@ -21491,6 +21507,14 @@ export interface Routes {
|
|
|
21491
21507
|
| undefined
|
|
21492
21508
|
)
|
|
21493
21509
|
| undefined
|
|
21510
|
+
salto_space_credential_service_metadata?:
|
|
21511
|
+
| (
|
|
21512
|
+
| {
|
|
21513
|
+
has_active_phone: boolean
|
|
21514
|
+
}
|
|
21515
|
+
| undefined
|
|
21516
|
+
)
|
|
21517
|
+
| undefined
|
|
21494
21518
|
}) & {
|
|
21495
21519
|
august_metadata?:
|
|
21496
21520
|
| {
|
|
@@ -22359,6 +22383,14 @@ export interface Routes {
|
|
|
22359
22383
|
| undefined
|
|
22360
22384
|
)
|
|
22361
22385
|
| undefined
|
|
22386
|
+
salto_space_credential_service_metadata?:
|
|
22387
|
+
| (
|
|
22388
|
+
| {
|
|
22389
|
+
has_active_phone: boolean
|
|
22390
|
+
}
|
|
22391
|
+
| undefined
|
|
22392
|
+
)
|
|
22393
|
+
| undefined
|
|
22362
22394
|
}) & {
|
|
22363
22395
|
august_metadata?:
|
|
22364
22396
|
| {
|
|
@@ -23410,6 +23442,14 @@ export interface Routes {
|
|
|
23410
23442
|
| undefined
|
|
23411
23443
|
)
|
|
23412
23444
|
| undefined
|
|
23445
|
+
salto_space_credential_service_metadata?:
|
|
23446
|
+
| (
|
|
23447
|
+
| {
|
|
23448
|
+
has_active_phone: boolean
|
|
23449
|
+
}
|
|
23450
|
+
| undefined
|
|
23451
|
+
)
|
|
23452
|
+
| undefined
|
|
23413
23453
|
}) & {
|
|
23414
23454
|
august_metadata?:
|
|
23415
23455
|
| {
|
|
@@ -24277,6 +24317,14 @@ export interface Routes {
|
|
|
24277
24317
|
| undefined
|
|
24278
24318
|
)
|
|
24279
24319
|
| undefined
|
|
24320
|
+
salto_space_credential_service_metadata?:
|
|
24321
|
+
| (
|
|
24322
|
+
| {
|
|
24323
|
+
has_active_phone: boolean
|
|
24324
|
+
}
|
|
24325
|
+
| undefined
|
|
24326
|
+
)
|
|
24327
|
+
| undefined
|
|
24280
24328
|
}) & {
|
|
24281
24329
|
august_metadata?:
|
|
24282
24330
|
| {
|
|
@@ -27437,6 +27485,14 @@ export interface Routes {
|
|
|
27437
27485
|
| undefined
|
|
27438
27486
|
)
|
|
27439
27487
|
| undefined
|
|
27488
|
+
salto_space_credential_service_metadata?:
|
|
27489
|
+
| (
|
|
27490
|
+
| {
|
|
27491
|
+
has_active_phone: boolean
|
|
27492
|
+
}
|
|
27493
|
+
| undefined
|
|
27494
|
+
)
|
|
27495
|
+
| undefined
|
|
27440
27496
|
}) & {
|
|
27441
27497
|
august_metadata?:
|
|
27442
27498
|
| {
|
|
@@ -28304,6 +28360,14 @@ export interface Routes {
|
|
|
28304
28360
|
| undefined
|
|
28305
28361
|
)
|
|
28306
28362
|
| undefined
|
|
28363
|
+
salto_space_credential_service_metadata?:
|
|
28364
|
+
| (
|
|
28365
|
+
| {
|
|
28366
|
+
has_active_phone: boolean
|
|
28367
|
+
}
|
|
28368
|
+
| undefined
|
|
28369
|
+
)
|
|
28370
|
+
| undefined
|
|
28307
28371
|
}) & {
|
|
28308
28372
|
august_metadata?:
|
|
28309
28373
|
| {
|
|
@@ -32268,6 +32332,11 @@ export interface Routes {
|
|
|
32268
32332
|
}>
|
|
32269
32333
|
}
|
|
32270
32334
|
| undefined
|
|
32335
|
+
salto_space_credential_service_metadata?:
|
|
32336
|
+
| {
|
|
32337
|
+
has_active_phone: boolean
|
|
32338
|
+
}
|
|
32339
|
+
| undefined
|
|
32271
32340
|
}
|
|
32272
32341
|
/** Location information for the device. */
|
|
32273
32342
|
location: {
|
|
@@ -32530,6 +32599,11 @@ export interface Routes {
|
|
|
32530
32599
|
}>
|
|
32531
32600
|
}
|
|
32532
32601
|
| undefined
|
|
32602
|
+
salto_space_credential_service_metadata?:
|
|
32603
|
+
| {
|
|
32604
|
+
has_active_phone: boolean
|
|
32605
|
+
}
|
|
32606
|
+
| undefined
|
|
32533
32607
|
}
|
|
32534
32608
|
/** Location information for the device. */
|
|
32535
32609
|
location: {
|
|
@@ -35022,6 +35096,14 @@ export interface Routes {
|
|
|
35022
35096
|
| undefined
|
|
35023
35097
|
)
|
|
35024
35098
|
| undefined
|
|
35099
|
+
salto_space_credential_service_metadata?:
|
|
35100
|
+
| (
|
|
35101
|
+
| {
|
|
35102
|
+
has_active_phone: boolean
|
|
35103
|
+
}
|
|
35104
|
+
| undefined
|
|
35105
|
+
)
|
|
35106
|
+
| undefined
|
|
35025
35107
|
}) & {
|
|
35026
35108
|
august_metadata?:
|
|
35027
35109
|
| {
|
|
@@ -38163,6 +38245,14 @@ export interface Routes {
|
|
|
38163
38245
|
| undefined
|
|
38164
38246
|
)
|
|
38165
38247
|
| undefined
|
|
38248
|
+
salto_space_credential_service_metadata?:
|
|
38249
|
+
| (
|
|
38250
|
+
| {
|
|
38251
|
+
has_active_phone: boolean
|
|
38252
|
+
}
|
|
38253
|
+
| undefined
|
|
38254
|
+
)
|
|
38255
|
+
| undefined
|
|
38166
38256
|
}) & {
|
|
38167
38257
|
august_metadata?:
|
|
38168
38258
|
| {
|
|
@@ -39030,6 +39120,14 @@ export interface Routes {
|
|
|
39030
39120
|
| undefined
|
|
39031
39121
|
)
|
|
39032
39122
|
| undefined
|
|
39123
|
+
salto_space_credential_service_metadata?:
|
|
39124
|
+
| (
|
|
39125
|
+
| {
|
|
39126
|
+
has_active_phone: boolean
|
|
39127
|
+
}
|
|
39128
|
+
| undefined
|
|
39129
|
+
)
|
|
39130
|
+
| undefined
|
|
39033
39131
|
}) & {
|
|
39034
39132
|
august_metadata?:
|
|
39035
39133
|
| {
|
|
@@ -43523,6 +43621,14 @@ export interface Routes {
|
|
|
43523
43621
|
| undefined
|
|
43524
43622
|
)
|
|
43525
43623
|
| undefined
|
|
43624
|
+
salto_space_credential_service_metadata?:
|
|
43625
|
+
| (
|
|
43626
|
+
| {
|
|
43627
|
+
has_active_phone: boolean
|
|
43628
|
+
}
|
|
43629
|
+
| undefined
|
|
43630
|
+
)
|
|
43631
|
+
| undefined
|
|
43526
43632
|
}) & {
|
|
43527
43633
|
august_metadata?:
|
|
43528
43634
|
| {
|
|
@@ -44392,6 +44498,14 @@ export interface Routes {
|
|
|
44392
44498
|
| undefined
|
|
44393
44499
|
)
|
|
44394
44500
|
| undefined
|
|
44501
|
+
salto_space_credential_service_metadata?:
|
|
44502
|
+
| (
|
|
44503
|
+
| {
|
|
44504
|
+
has_active_phone: boolean
|
|
44505
|
+
}
|
|
44506
|
+
| undefined
|
|
44507
|
+
)
|
|
44508
|
+
| undefined
|
|
44395
44509
|
}) & {
|
|
44396
44510
|
august_metadata?:
|
|
44397
44511
|
| {
|