@seamapi/types 0.2.1 → 0.3.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.
|
@@ -501,8 +501,8 @@ export interface Routes {
|
|
|
501
501
|
route: '/client_sessions/create';
|
|
502
502
|
method: 'POST' | 'PUT';
|
|
503
503
|
queryParams: {};
|
|
504
|
-
jsonBody:
|
|
505
|
-
user_identifier_key
|
|
504
|
+
jsonBody: {
|
|
505
|
+
user_identifier_key?: string | undefined;
|
|
506
506
|
connect_webview_ids?: string[] | undefined;
|
|
507
507
|
connected_account_ids?: string[] | undefined;
|
|
508
508
|
};
|
|
@@ -512,6 +512,7 @@ export interface Routes {
|
|
|
512
512
|
client_session: {
|
|
513
513
|
token: string;
|
|
514
514
|
client_session_id: string;
|
|
515
|
+
user_identifier_key: string | null;
|
|
515
516
|
created_at: string;
|
|
516
517
|
};
|
|
517
518
|
};
|
|
@@ -532,7 +533,11 @@ export interface Routes {
|
|
|
532
533
|
method: 'POST' | 'GET';
|
|
533
534
|
queryParams: {};
|
|
534
535
|
jsonBody: {};
|
|
535
|
-
commonParams: {
|
|
536
|
+
commonParams: {
|
|
537
|
+
client_session_id?: string | undefined;
|
|
538
|
+
user_identifier_key?: string | undefined;
|
|
539
|
+
without_user_identifier_key?: boolean | undefined;
|
|
540
|
+
};
|
|
536
541
|
formData: {};
|
|
537
542
|
jsonResponse: {
|
|
538
543
|
client_sessions: Array<{
|
|
@@ -553,7 +558,7 @@ export interface Routes {
|
|
|
553
558
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
554
559
|
custom_redirect_url?: string | undefined;
|
|
555
560
|
custom_redirect_failure_url?: string | undefined;
|
|
556
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat'
|
|
561
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat'> | undefined;
|
|
557
562
|
provider_category?: ('stable' | 'internal_beta') | undefined;
|
|
558
563
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
559
564
|
};
|
|
@@ -900,7 +905,7 @@ export interface Routes {
|
|
|
900
905
|
};
|
|
901
906
|
'/events/get': {
|
|
902
907
|
route: '/events/get';
|
|
903
|
-
method: 'GET';
|
|
908
|
+
method: 'GET' | 'POST';
|
|
904
909
|
queryParams: {};
|
|
905
910
|
jsonBody: {};
|
|
906
911
|
commonParams: {
|
|
@@ -915,8 +920,8 @@ export interface Routes {
|
|
|
915
920
|
device_id?: string | undefined;
|
|
916
921
|
event_type: string;
|
|
917
922
|
workspace_id: string;
|
|
918
|
-
created_at:
|
|
919
|
-
occurred_at:
|
|
923
|
+
created_at: string;
|
|
924
|
+
occurred_at: string;
|
|
920
925
|
} | undefined;
|
|
921
926
|
message?: string | undefined;
|
|
922
927
|
};
|
|
@@ -944,8 +949,8 @@ export interface Routes {
|
|
|
944
949
|
device_id?: string | undefined;
|
|
945
950
|
event_type: string;
|
|
946
951
|
workspace_id: string;
|
|
947
|
-
created_at:
|
|
948
|
-
occurred_at:
|
|
952
|
+
created_at: string;
|
|
953
|
+
occurred_at: string;
|
|
949
954
|
}> | undefined;
|
|
950
955
|
message?: string | undefined;
|
|
951
956
|
};
|
|
@@ -960,7 +965,7 @@ export interface Routes {
|
|
|
960
965
|
jsonResponse: {
|
|
961
966
|
ok: boolean;
|
|
962
967
|
msg: 'I\u2019m one with the Force. The Force is with me.';
|
|
963
|
-
last_service_evaluation_at
|
|
968
|
+
last_service_evaluation_at?: string | undefined;
|
|
964
969
|
service_health_statuses: Array<{
|
|
965
970
|
service: string;
|
|
966
971
|
status: 'healthy' | 'degraded' | 'down';
|
|
@@ -978,7 +983,7 @@ export interface Routes {
|
|
|
978
983
|
jsonResponse: {
|
|
979
984
|
ok: boolean;
|
|
980
985
|
msg: 'I\u2019m one with the Force. The Force is with me.';
|
|
981
|
-
last_service_evaluation_at
|
|
986
|
+
last_service_evaluation_at?: string | undefined;
|
|
982
987
|
service_health_statuses: Array<{
|
|
983
988
|
service: string;
|
|
984
989
|
status: 'healthy' | 'degraded' | 'down';
|
package/package.json
CHANGED
|
@@ -522,19 +522,18 @@ export interface Routes {
|
|
|
522
522
|
route: '/client_sessions/create'
|
|
523
523
|
method: 'POST' | 'PUT'
|
|
524
524
|
queryParams: {}
|
|
525
|
-
jsonBody:
|
|
526
|
-
|
|
|
527
|
-
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
connected_account_ids?: string[] | undefined
|
|
531
|
-
}
|
|
525
|
+
jsonBody: {
|
|
526
|
+
user_identifier_key?: string | undefined
|
|
527
|
+
connect_webview_ids?: string[] | undefined
|
|
528
|
+
connected_account_ids?: string[] | undefined
|
|
529
|
+
}
|
|
532
530
|
commonParams: {}
|
|
533
531
|
formData: {}
|
|
534
532
|
jsonResponse: {
|
|
535
533
|
client_session: {
|
|
536
534
|
token: string
|
|
537
535
|
client_session_id: string
|
|
536
|
+
user_identifier_key: string | null
|
|
538
537
|
created_at: string
|
|
539
538
|
}
|
|
540
539
|
}
|
|
@@ -555,7 +554,11 @@ export interface Routes {
|
|
|
555
554
|
method: 'POST' | 'GET'
|
|
556
555
|
queryParams: {}
|
|
557
556
|
jsonBody: {}
|
|
558
|
-
commonParams: {
|
|
557
|
+
commonParams: {
|
|
558
|
+
client_session_id?: string | undefined
|
|
559
|
+
user_identifier_key?: string | undefined
|
|
560
|
+
without_user_identifier_key?: boolean | undefined
|
|
561
|
+
}
|
|
559
562
|
formData: {}
|
|
560
563
|
jsonResponse: {
|
|
561
564
|
client_sessions: Array<{
|
|
@@ -604,7 +607,6 @@ export interface Routes {
|
|
|
604
607
|
| 'igloohome'
|
|
605
608
|
| 'ecobee'
|
|
606
609
|
| 'hubitat'
|
|
607
|
-
| 'yale_access'
|
|
608
610
|
>
|
|
609
611
|
| undefined
|
|
610
612
|
provider_category?: ('stable' | 'internal_beta') | undefined
|
|
@@ -1212,7 +1214,7 @@ export interface Routes {
|
|
|
1212
1214
|
}
|
|
1213
1215
|
'/events/get': {
|
|
1214
1216
|
route: '/events/get'
|
|
1215
|
-
method: 'GET'
|
|
1217
|
+
method: 'GET' | 'POST'
|
|
1216
1218
|
queryParams: {}
|
|
1217
1219
|
jsonBody: {}
|
|
1218
1220
|
commonParams: {
|
|
@@ -1228,8 +1230,8 @@ export interface Routes {
|
|
|
1228
1230
|
device_id?: string | undefined
|
|
1229
1231
|
event_type: string
|
|
1230
1232
|
workspace_id: string
|
|
1231
|
-
created_at:
|
|
1232
|
-
occurred_at:
|
|
1233
|
+
created_at: string
|
|
1234
|
+
occurred_at: string
|
|
1233
1235
|
}
|
|
1234
1236
|
| undefined
|
|
1235
1237
|
message?: string | undefined
|
|
@@ -1327,8 +1329,8 @@ export interface Routes {
|
|
|
1327
1329
|
device_id?: string | undefined
|
|
1328
1330
|
event_type: string
|
|
1329
1331
|
workspace_id: string
|
|
1330
|
-
created_at:
|
|
1331
|
-
occurred_at:
|
|
1332
|
+
created_at: string
|
|
1333
|
+
occurred_at: string
|
|
1332
1334
|
}>
|
|
1333
1335
|
| undefined
|
|
1334
1336
|
message?: string | undefined
|
|
@@ -1344,7 +1346,7 @@ export interface Routes {
|
|
|
1344
1346
|
jsonResponse: {
|
|
1345
1347
|
ok: boolean
|
|
1346
1348
|
msg: 'I\u2019m one with the Force. The Force is with me.'
|
|
1347
|
-
last_service_evaluation_at
|
|
1349
|
+
last_service_evaluation_at?: string | undefined
|
|
1348
1350
|
service_health_statuses: Array<{
|
|
1349
1351
|
service: string
|
|
1350
1352
|
status: 'healthy' | 'degraded' | 'down'
|
|
@@ -1362,7 +1364,7 @@ export interface Routes {
|
|
|
1362
1364
|
jsonResponse: {
|
|
1363
1365
|
ok: boolean
|
|
1364
1366
|
msg: 'I\u2019m one with the Force. The Force is with me.'
|
|
1365
|
-
last_service_evaluation_at
|
|
1367
|
+
last_service_evaluation_at?: string | undefined
|
|
1366
1368
|
service_health_statuses: Array<{
|
|
1367
1369
|
service: string
|
|
1368
1370
|
status: 'healthy' | 'degraded' | 'down'
|