@seamapi/types 1.425.0 → 1.427.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 +67 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -18
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +5 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
- package/lib/seam/connect/models/access-grants/access-method.js +1 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.js +1 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +40 -0
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +40 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +7 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -0
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +47 -0
- package/src/lib/seam/connect/route-types.ts +40 -0
|
@@ -10244,6 +10244,8 @@ export interface Routes {
|
|
|
10244
10244
|
access_method_ids: string[];
|
|
10245
10245
|
/** Display name of the access grant. */
|
|
10246
10246
|
display_name: string;
|
|
10247
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
10248
|
+
instant_key_url?: string | undefined;
|
|
10247
10249
|
/** Date and time at which the access grant was created. */
|
|
10248
10250
|
created_at: string;
|
|
10249
10251
|
/** Date and time at which the access grant starts. */
|
|
@@ -10304,6 +10306,8 @@ export interface Routes {
|
|
|
10304
10306
|
access_method_ids: string[];
|
|
10305
10307
|
/** Display name of the access grant. */
|
|
10306
10308
|
display_name: string;
|
|
10309
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
10310
|
+
instant_key_url?: string | undefined;
|
|
10307
10311
|
/** Date and time at which the access grant was created. */
|
|
10308
10312
|
created_at: string;
|
|
10309
10313
|
/** Date and time at which the access grant starts. */
|
|
@@ -10360,6 +10364,8 @@ export interface Routes {
|
|
|
10360
10364
|
access_method_ids: string[];
|
|
10361
10365
|
/** Display name of the access grant. */
|
|
10362
10366
|
display_name: string;
|
|
10367
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
10368
|
+
instant_key_url?: string | undefined;
|
|
10363
10369
|
/** Date and time at which the access grant was created. */
|
|
10364
10370
|
created_at: string;
|
|
10365
10371
|
/** Date and time at which the access grant starts. */
|
|
@@ -22337,6 +22343,8 @@ export interface Routes {
|
|
|
22337
22343
|
/** Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. */
|
|
22338
22344
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
22339
22345
|
customer_ids?: string[] | undefined;
|
|
22346
|
+
/** String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`. */
|
|
22347
|
+
search?: string | undefined;
|
|
22340
22348
|
/** Maximum number of records to return per page. */
|
|
22341
22349
|
limit?: number;
|
|
22342
22350
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
@@ -24298,6 +24306,7 @@ export interface Routes {
|
|
|
24298
24306
|
can_simulate_removal?: boolean | undefined;
|
|
24299
24307
|
can_simulate_connection?: boolean | undefined;
|
|
24300
24308
|
can_simulate_disconnection?: boolean | undefined;
|
|
24309
|
+
can_unlock_with_code?: boolean | undefined;
|
|
24301
24310
|
};
|
|
24302
24311
|
};
|
|
24303
24312
|
};
|
|
@@ -24333,9 +24342,9 @@ export interface Routes {
|
|
|
24333
24342
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
24334
24343
|
page_cursor?: (string | undefined) | null;
|
|
24335
24344
|
/** */
|
|
24336
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
24345
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
24337
24346
|
/** */
|
|
24338
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
24347
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
24339
24348
|
/**
|
|
24340
24349
|
* @deprecated Use `space_id`. */
|
|
24341
24350
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -25455,6 +25464,7 @@ export interface Routes {
|
|
|
25455
25464
|
can_simulate_removal?: boolean | undefined;
|
|
25456
25465
|
can_simulate_connection?: boolean | undefined;
|
|
25457
25466
|
can_simulate_disconnection?: boolean | undefined;
|
|
25467
|
+
can_unlock_with_code?: boolean | undefined;
|
|
25458
25468
|
}>;
|
|
25459
25469
|
/** Information about the current page of results. */
|
|
25460
25470
|
pagination: {
|
|
@@ -25494,6 +25504,7 @@ export interface Routes {
|
|
|
25494
25504
|
can_simulate_removal?: boolean | undefined;
|
|
25495
25505
|
can_simulate_connection?: boolean | undefined;
|
|
25496
25506
|
can_simulate_disconnection?: boolean | undefined;
|
|
25507
|
+
can_unlock_with_code?: boolean | undefined;
|
|
25497
25508
|
}>;
|
|
25498
25509
|
};
|
|
25499
25510
|
};
|
|
@@ -25933,6 +25944,7 @@ export interface Routes {
|
|
|
25933
25944
|
can_simulate_removal?: boolean | undefined;
|
|
25934
25945
|
can_simulate_connection?: boolean | undefined;
|
|
25935
25946
|
can_simulate_disconnection?: boolean | undefined;
|
|
25947
|
+
can_unlock_with_code?: boolean | undefined;
|
|
25936
25948
|
};
|
|
25937
25949
|
};
|
|
25938
25950
|
};
|
|
@@ -25968,9 +25980,9 @@ export interface Routes {
|
|
|
25968
25980
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
25969
25981
|
page_cursor?: (string | undefined) | null;
|
|
25970
25982
|
/** */
|
|
25971
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
25983
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
25972
25984
|
/** */
|
|
25973
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
25985
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
25974
25986
|
/**
|
|
25975
25987
|
* @deprecated Use `space_id`. */
|
|
25976
25988
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -26367,6 +26379,7 @@ export interface Routes {
|
|
|
26367
26379
|
can_simulate_removal?: boolean | undefined;
|
|
26368
26380
|
can_simulate_connection?: boolean | undefined;
|
|
26369
26381
|
can_simulate_disconnection?: boolean | undefined;
|
|
26382
|
+
can_unlock_with_code?: boolean | undefined;
|
|
26370
26383
|
}>;
|
|
26371
26384
|
};
|
|
26372
26385
|
};
|
|
@@ -30373,6 +30386,7 @@ export interface Routes {
|
|
|
30373
30386
|
can_simulate_removal?: boolean | undefined;
|
|
30374
30387
|
can_simulate_connection?: boolean | undefined;
|
|
30375
30388
|
can_simulate_disconnection?: boolean | undefined;
|
|
30389
|
+
can_unlock_with_code?: boolean | undefined;
|
|
30376
30390
|
};
|
|
30377
30391
|
/** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
|
|
30378
30392
|
device: {
|
|
@@ -31484,6 +31498,7 @@ export interface Routes {
|
|
|
31484
31498
|
can_simulate_removal?: boolean | undefined;
|
|
31485
31499
|
can_simulate_connection?: boolean | undefined;
|
|
31486
31500
|
can_simulate_disconnection?: boolean | undefined;
|
|
31501
|
+
can_unlock_with_code?: boolean | undefined;
|
|
31487
31502
|
};
|
|
31488
31503
|
};
|
|
31489
31504
|
};
|
|
@@ -31519,9 +31534,9 @@ export interface Routes {
|
|
|
31519
31534
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
31520
31535
|
page_cursor?: (string | undefined) | null;
|
|
31521
31536
|
/** */
|
|
31522
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
31537
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
31523
31538
|
/** */
|
|
31524
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
31539
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
31525
31540
|
/**
|
|
31526
31541
|
* @deprecated Use `space_id`. */
|
|
31527
31542
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -32641,6 +32656,7 @@ export interface Routes {
|
|
|
32641
32656
|
can_simulate_removal?: boolean | undefined;
|
|
32642
32657
|
can_simulate_connection?: boolean | undefined;
|
|
32643
32658
|
can_simulate_disconnection?: boolean | undefined;
|
|
32659
|
+
can_unlock_with_code?: boolean | undefined;
|
|
32644
32660
|
}>;
|
|
32645
32661
|
devices: Array<{
|
|
32646
32662
|
/** ID of the device. */
|
|
@@ -33751,6 +33767,7 @@ export interface Routes {
|
|
|
33751
33767
|
can_simulate_removal?: boolean | undefined;
|
|
33752
33768
|
can_simulate_connection?: boolean | undefined;
|
|
33753
33769
|
can_simulate_disconnection?: boolean | undefined;
|
|
33770
|
+
can_unlock_with_code?: boolean | undefined;
|
|
33754
33771
|
}>;
|
|
33755
33772
|
};
|
|
33756
33773
|
};
|
|
@@ -39111,9 +39128,9 @@ export interface Routes {
|
|
|
39111
39128
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
39112
39129
|
page_cursor?: (string | undefined) | null;
|
|
39113
39130
|
/** */
|
|
39114
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
39131
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
39115
39132
|
/** */
|
|
39116
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
39133
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
39117
39134
|
/**
|
|
39118
39135
|
* @deprecated Use `space_id`. */
|
|
39119
39136
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -40233,6 +40250,7 @@ export interface Routes {
|
|
|
40233
40250
|
can_simulate_removal?: boolean | undefined;
|
|
40234
40251
|
can_simulate_connection?: boolean | undefined;
|
|
40235
40252
|
can_simulate_disconnection?: boolean | undefined;
|
|
40253
|
+
can_unlock_with_code?: boolean | undefined;
|
|
40236
40254
|
}>;
|
|
40237
40255
|
devices: Array<{
|
|
40238
40256
|
/** ID of the device. */
|
|
@@ -41343,6 +41361,7 @@ export interface Routes {
|
|
|
41343
41361
|
can_simulate_removal?: boolean | undefined;
|
|
41344
41362
|
can_simulate_connection?: boolean | undefined;
|
|
41345
41363
|
can_simulate_disconnection?: boolean | undefined;
|
|
41364
|
+
can_unlock_with_code?: boolean | undefined;
|
|
41346
41365
|
}>;
|
|
41347
41366
|
};
|
|
41348
41367
|
};
|
|
@@ -51881,6 +51900,7 @@ export interface Routes {
|
|
|
51881
51900
|
can_simulate_removal?: boolean | undefined;
|
|
51882
51901
|
can_simulate_connection?: boolean | undefined;
|
|
51883
51902
|
can_simulate_disconnection?: boolean | undefined;
|
|
51903
|
+
can_unlock_with_code?: boolean | undefined;
|
|
51884
51904
|
};
|
|
51885
51905
|
};
|
|
51886
51906
|
};
|
|
@@ -54574,9 +54594,9 @@ export interface Routes {
|
|
|
54574
54594
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
54575
54595
|
page_cursor?: (string | undefined) | null;
|
|
54576
54596
|
/** */
|
|
54577
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
54597
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
54578
54598
|
/** */
|
|
54579
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
54599
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
54580
54600
|
/**
|
|
54581
54601
|
* @deprecated Use `space_id`. */
|
|
54582
54602
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -55696,6 +55716,7 @@ export interface Routes {
|
|
|
55696
55716
|
can_simulate_removal?: boolean | undefined;
|
|
55697
55717
|
can_simulate_connection?: boolean | undefined;
|
|
55698
55718
|
can_simulate_disconnection?: boolean | undefined;
|
|
55719
|
+
can_unlock_with_code?: boolean | undefined;
|
|
55699
55720
|
}>;
|
|
55700
55721
|
devices: Array<{
|
|
55701
55722
|
/** ID of the device. */
|
|
@@ -56806,6 +56827,7 @@ export interface Routes {
|
|
|
56806
56827
|
can_simulate_removal?: boolean | undefined;
|
|
56807
56828
|
can_simulate_connection?: boolean | undefined;
|
|
56808
56829
|
can_simulate_disconnection?: boolean | undefined;
|
|
56830
|
+
can_unlock_with_code?: boolean | undefined;
|
|
56809
56831
|
}>;
|
|
56810
56832
|
};
|
|
56811
56833
|
};
|
|
@@ -62526,6 +62548,8 @@ export interface Routes {
|
|
|
62526
62548
|
access_method_ids: string[];
|
|
62527
62549
|
/** Display name of the access grant. */
|
|
62528
62550
|
display_name: string;
|
|
62551
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
62552
|
+
instant_key_url?: string | undefined;
|
|
62529
62553
|
/** Date and time at which the access grant was created. */
|
|
62530
62554
|
created_at: string;
|
|
62531
62555
|
/** Date and time at which the access grant starts. */
|
|
@@ -62586,6 +62610,8 @@ export interface Routes {
|
|
|
62586
62610
|
access_method_ids: string[];
|
|
62587
62611
|
/** Display name of the access grant. */
|
|
62588
62612
|
display_name: string;
|
|
62613
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
62614
|
+
instant_key_url?: string | undefined;
|
|
62589
62615
|
/** Date and time at which the access grant was created. */
|
|
62590
62616
|
created_at: string;
|
|
62591
62617
|
/** Date and time at which the access grant starts. */
|
|
@@ -62642,6 +62668,8 @@ export interface Routes {
|
|
|
62642
62668
|
access_method_ids: string[];
|
|
62643
62669
|
/** Display name of the access grant. */
|
|
62644
62670
|
display_name: string;
|
|
62671
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
62672
|
+
instant_key_url?: string | undefined;
|
|
62645
62673
|
/** Date and time at which the access grant was created. */
|
|
62646
62674
|
created_at: string;
|
|
62647
62675
|
/** Date and time at which the access grant starts. */
|
|
@@ -64528,6 +64556,7 @@ export interface Routes {
|
|
|
64528
64556
|
can_simulate_removal?: boolean | undefined;
|
|
64529
64557
|
can_simulate_connection?: boolean | undefined;
|
|
64530
64558
|
can_simulate_disconnection?: boolean | undefined;
|
|
64559
|
+
can_unlock_with_code?: boolean | undefined;
|
|
64531
64560
|
}>;
|
|
64532
64561
|
/**
|
|
64533
64562
|
* @deprecated Use devices. */
|
|
@@ -65640,6 +65669,7 @@ export interface Routes {
|
|
|
65640
65669
|
can_simulate_removal?: boolean | undefined;
|
|
65641
65670
|
can_simulate_connection?: boolean | undefined;
|
|
65642
65671
|
can_simulate_disconnection?: boolean | undefined;
|
|
65672
|
+
can_unlock_with_code?: boolean | undefined;
|
|
65643
65673
|
}>;
|
|
65644
65674
|
};
|
|
65645
65675
|
};
|
package/package.json
CHANGED
|
@@ -27,6 +27,13 @@ export const access_grant = z.object({
|
|
|
27
27
|
.array(z.string().uuid())
|
|
28
28
|
.describe('IDs of the access methods created for the access grant.'),
|
|
29
29
|
display_name: z.string().describe('Display name of the access grant.'),
|
|
30
|
+
instant_key_url: z
|
|
31
|
+
.string()
|
|
32
|
+
.url()
|
|
33
|
+
.optional()
|
|
34
|
+
.describe(
|
|
35
|
+
'Instant Key URL. Only returned if the access grant has a single mobile_key access_method. ',
|
|
36
|
+
),
|
|
30
37
|
created_at: z
|
|
31
38
|
.string()
|
|
32
39
|
.datetime()
|
|
@@ -23,6 +23,7 @@ export const access_method = z.object({
|
|
|
23
23
|
.describe('Date and time at which the access method was issued.'),
|
|
24
24
|
instant_key_url: z
|
|
25
25
|
.string()
|
|
26
|
+
.url()
|
|
26
27
|
.optional()
|
|
27
28
|
.describe('URL of the Instant Key for mobile key access methods.'),
|
|
28
29
|
is_card_encoding_required: z
|
|
@@ -15,6 +15,7 @@ export const device_capability_flags =
|
|
|
15
15
|
can_simulate_removal: z.boolean().optional(),
|
|
16
16
|
can_simulate_connection: z.boolean().optional(),
|
|
17
17
|
can_simulate_disconnection: z.boolean().optional(),
|
|
18
|
+
can_unlock_with_code: z.boolean().optional(),
|
|
18
19
|
})
|
|
19
20
|
|
|
20
21
|
export const battery_status = z.enum(['critical', 'low', 'good', 'full'])
|
|
@@ -1842,6 +1842,12 @@ export default {
|
|
|
1842
1842
|
format: 'date-time',
|
|
1843
1843
|
type: 'string',
|
|
1844
1844
|
},
|
|
1845
|
+
instant_key_url: {
|
|
1846
|
+
description:
|
|
1847
|
+
'Instant Key URL. Only returned if the access grant has a single mobile_key access_method. ',
|
|
1848
|
+
format: 'uri',
|
|
1849
|
+
type: 'string',
|
|
1850
|
+
},
|
|
1845
1851
|
location_ids: {
|
|
1846
1852
|
deprecated: true,
|
|
1847
1853
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -1947,6 +1953,7 @@ export default {
|
|
|
1947
1953
|
instant_key_url: {
|
|
1948
1954
|
description:
|
|
1949
1955
|
'URL of the Instant Key for mobile key access methods.',
|
|
1956
|
+
format: 'uri',
|
|
1950
1957
|
type: 'string',
|
|
1951
1958
|
},
|
|
1952
1959
|
is_card_encoding_required: {
|
|
@@ -5584,6 +5591,7 @@ export default {
|
|
|
5584
5591
|
instant_key_url: {
|
|
5585
5592
|
description:
|
|
5586
5593
|
'URL of the Instant Key for mobile key access methods.',
|
|
5594
|
+
format: 'uri',
|
|
5587
5595
|
type: 'string',
|
|
5588
5596
|
},
|
|
5589
5597
|
is_card_encoding_required: {
|
|
@@ -9359,6 +9367,7 @@ export default {
|
|
|
9359
9367
|
can_simulate_disconnection: { type: 'boolean' },
|
|
9360
9368
|
can_simulate_removal: { type: 'boolean' },
|
|
9361
9369
|
can_turn_off_hvac: { type: 'boolean' },
|
|
9370
|
+
can_unlock_with_code: { type: 'boolean' },
|
|
9362
9371
|
capabilities_supported: {
|
|
9363
9372
|
description:
|
|
9364
9373
|
'\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).\n ',
|
|
@@ -12861,6 +12870,7 @@ export default {
|
|
|
12861
12870
|
can_simulate_disconnection: { type: 'boolean' },
|
|
12862
12871
|
can_simulate_removal: { type: 'boolean' },
|
|
12863
12872
|
can_turn_off_hvac: { type: 'boolean' },
|
|
12873
|
+
can_unlock_with_code: { type: 'boolean' },
|
|
12864
12874
|
device_provider_name: {
|
|
12865
12875
|
enum: [
|
|
12866
12876
|
'dormakaba_community',
|
|
@@ -22438,6 +22448,7 @@ export default {
|
|
|
22438
22448
|
can_simulate_disconnection: { type: 'boolean' },
|
|
22439
22449
|
can_simulate_removal: { type: 'boolean' },
|
|
22440
22450
|
can_turn_off_hvac: { type: 'boolean' },
|
|
22451
|
+
can_unlock_with_code: { type: 'boolean' },
|
|
22441
22452
|
capabilities_supported: {
|
|
22442
22453
|
description:
|
|
22443
22454
|
'\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).\n ',
|
|
@@ -35719,6 +35730,16 @@ export default {
|
|
|
35719
35730
|
type: 'array',
|
|
35720
35731
|
},
|
|
35721
35732
|
},
|
|
35733
|
+
{
|
|
35734
|
+
in: 'query',
|
|
35735
|
+
name: 'search',
|
|
35736
|
+
schema: {
|
|
35737
|
+
description:
|
|
35738
|
+
'String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`.',
|
|
35739
|
+
minLength: 1,
|
|
35740
|
+
type: 'string',
|
|
35741
|
+
},
|
|
35742
|
+
},
|
|
35722
35743
|
{
|
|
35723
35744
|
in: 'query',
|
|
35724
35745
|
name: 'limit',
|
|
@@ -35813,6 +35834,12 @@ export default {
|
|
|
35813
35834
|
nullable: true,
|
|
35814
35835
|
type: 'string',
|
|
35815
35836
|
},
|
|
35837
|
+
search: {
|
|
35838
|
+
description:
|
|
35839
|
+
'String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`.',
|
|
35840
|
+
minLength: 1,
|
|
35841
|
+
type: 'string',
|
|
35842
|
+
},
|
|
35816
35843
|
user_identifier_key: {
|
|
35817
35844
|
description:
|
|
35818
35845
|
'Your user ID for the user by which you want to filter connected accounts.',
|
|
@@ -37968,6 +37995,7 @@ export default {
|
|
|
37968
37995
|
'can_simulate_removal',
|
|
37969
37996
|
'can_simulate_connection',
|
|
37970
37997
|
'can_simulate_disconnection',
|
|
37998
|
+
'can_unlock_with_code',
|
|
37971
37999
|
],
|
|
37972
38000
|
type: 'string',
|
|
37973
38001
|
},
|
|
@@ -37992,6 +38020,7 @@ export default {
|
|
|
37992
38020
|
'can_simulate_removal',
|
|
37993
38021
|
'can_simulate_connection',
|
|
37994
38022
|
'can_simulate_disconnection',
|
|
38023
|
+
'can_unlock_with_code',
|
|
37995
38024
|
],
|
|
37996
38025
|
type: 'string',
|
|
37997
38026
|
},
|
|
@@ -38263,6 +38292,7 @@ export default {
|
|
|
38263
38292
|
'can_simulate_removal',
|
|
38264
38293
|
'can_simulate_connection',
|
|
38265
38294
|
'can_simulate_disconnection',
|
|
38295
|
+
'can_unlock_with_code',
|
|
38266
38296
|
],
|
|
38267
38297
|
type: 'string',
|
|
38268
38298
|
},
|
|
@@ -38283,6 +38313,7 @@ export default {
|
|
|
38283
38313
|
'can_simulate_removal',
|
|
38284
38314
|
'can_simulate_connection',
|
|
38285
38315
|
'can_simulate_disconnection',
|
|
38316
|
+
'can_unlock_with_code',
|
|
38286
38317
|
],
|
|
38287
38318
|
type: 'string',
|
|
38288
38319
|
},
|
|
@@ -39119,6 +39150,7 @@ export default {
|
|
|
39119
39150
|
'can_simulate_removal',
|
|
39120
39151
|
'can_simulate_connection',
|
|
39121
39152
|
'can_simulate_disconnection',
|
|
39153
|
+
'can_unlock_with_code',
|
|
39122
39154
|
],
|
|
39123
39155
|
type: 'string',
|
|
39124
39156
|
},
|
|
@@ -39143,6 +39175,7 @@ export default {
|
|
|
39143
39175
|
'can_simulate_removal',
|
|
39144
39176
|
'can_simulate_connection',
|
|
39145
39177
|
'can_simulate_disconnection',
|
|
39178
|
+
'can_unlock_with_code',
|
|
39146
39179
|
],
|
|
39147
39180
|
type: 'string',
|
|
39148
39181
|
},
|
|
@@ -39411,6 +39444,7 @@ export default {
|
|
|
39411
39444
|
'can_simulate_removal',
|
|
39412
39445
|
'can_simulate_connection',
|
|
39413
39446
|
'can_simulate_disconnection',
|
|
39447
|
+
'can_unlock_with_code',
|
|
39414
39448
|
],
|
|
39415
39449
|
type: 'string',
|
|
39416
39450
|
},
|
|
@@ -39431,6 +39465,7 @@ export default {
|
|
|
39431
39465
|
'can_simulate_removal',
|
|
39432
39466
|
'can_simulate_connection',
|
|
39433
39467
|
'can_simulate_disconnection',
|
|
39468
|
+
'can_unlock_with_code',
|
|
39434
39469
|
],
|
|
39435
39470
|
type: 'string',
|
|
39436
39471
|
},
|
|
@@ -41069,6 +41104,7 @@ export default {
|
|
|
41069
41104
|
'can_simulate_removal',
|
|
41070
41105
|
'can_simulate_connection',
|
|
41071
41106
|
'can_simulate_disconnection',
|
|
41107
|
+
'can_unlock_with_code',
|
|
41072
41108
|
],
|
|
41073
41109
|
type: 'string',
|
|
41074
41110
|
},
|
|
@@ -41093,6 +41129,7 @@ export default {
|
|
|
41093
41129
|
'can_simulate_removal',
|
|
41094
41130
|
'can_simulate_connection',
|
|
41095
41131
|
'can_simulate_disconnection',
|
|
41132
|
+
'can_unlock_with_code',
|
|
41096
41133
|
],
|
|
41097
41134
|
type: 'string',
|
|
41098
41135
|
},
|
|
@@ -41309,6 +41346,7 @@ export default {
|
|
|
41309
41346
|
'can_simulate_removal',
|
|
41310
41347
|
'can_simulate_connection',
|
|
41311
41348
|
'can_simulate_disconnection',
|
|
41349
|
+
'can_unlock_with_code',
|
|
41312
41350
|
],
|
|
41313
41351
|
type: 'string',
|
|
41314
41352
|
},
|
|
@@ -41329,6 +41367,7 @@ export default {
|
|
|
41329
41367
|
'can_simulate_removal',
|
|
41330
41368
|
'can_simulate_connection',
|
|
41331
41369
|
'can_simulate_disconnection',
|
|
41370
|
+
'can_unlock_with_code',
|
|
41332
41371
|
],
|
|
41333
41372
|
type: 'string',
|
|
41334
41373
|
},
|
|
@@ -42099,6 +42138,7 @@ export default {
|
|
|
42099
42138
|
'can_simulate_removal',
|
|
42100
42139
|
'can_simulate_connection',
|
|
42101
42140
|
'can_simulate_disconnection',
|
|
42141
|
+
'can_unlock_with_code',
|
|
42102
42142
|
],
|
|
42103
42143
|
type: 'string',
|
|
42104
42144
|
},
|
|
@@ -42123,6 +42163,7 @@ export default {
|
|
|
42123
42163
|
'can_simulate_removal',
|
|
42124
42164
|
'can_simulate_connection',
|
|
42125
42165
|
'can_simulate_disconnection',
|
|
42166
|
+
'can_unlock_with_code',
|
|
42126
42167
|
],
|
|
42127
42168
|
type: 'string',
|
|
42128
42169
|
},
|
|
@@ -42283,6 +42324,7 @@ export default {
|
|
|
42283
42324
|
'can_simulate_removal',
|
|
42284
42325
|
'can_simulate_connection',
|
|
42285
42326
|
'can_simulate_disconnection',
|
|
42327
|
+
'can_unlock_with_code',
|
|
42286
42328
|
],
|
|
42287
42329
|
type: 'string',
|
|
42288
42330
|
},
|
|
@@ -42303,6 +42345,7 @@ export default {
|
|
|
42303
42345
|
'can_simulate_removal',
|
|
42304
42346
|
'can_simulate_connection',
|
|
42305
42347
|
'can_simulate_disconnection',
|
|
42348
|
+
'can_unlock_with_code',
|
|
42306
42349
|
],
|
|
42307
42350
|
type: 'string',
|
|
42308
42351
|
},
|
|
@@ -46844,6 +46887,7 @@ export default {
|
|
|
46844
46887
|
'can_simulate_removal',
|
|
46845
46888
|
'can_simulate_connection',
|
|
46846
46889
|
'can_simulate_disconnection',
|
|
46890
|
+
'can_unlock_with_code',
|
|
46847
46891
|
],
|
|
46848
46892
|
type: 'string',
|
|
46849
46893
|
},
|
|
@@ -46868,6 +46912,7 @@ export default {
|
|
|
46868
46912
|
'can_simulate_removal',
|
|
46869
46913
|
'can_simulate_connection',
|
|
46870
46914
|
'can_simulate_disconnection',
|
|
46915
|
+
'can_unlock_with_code',
|
|
46871
46916
|
],
|
|
46872
46917
|
type: 'string',
|
|
46873
46918
|
},
|
|
@@ -47042,6 +47087,7 @@ export default {
|
|
|
47042
47087
|
'can_simulate_removal',
|
|
47043
47088
|
'can_simulate_connection',
|
|
47044
47089
|
'can_simulate_disconnection',
|
|
47090
|
+
'can_unlock_with_code',
|
|
47045
47091
|
],
|
|
47046
47092
|
type: 'string',
|
|
47047
47093
|
},
|
|
@@ -47062,6 +47108,7 @@ export default {
|
|
|
47062
47108
|
'can_simulate_removal',
|
|
47063
47109
|
'can_simulate_connection',
|
|
47064
47110
|
'can_simulate_disconnection',
|
|
47111
|
+
'can_unlock_with_code',
|
|
47065
47112
|
],
|
|
47066
47113
|
type: 'string',
|
|
47067
47114
|
},
|