@seamapi/types 1.44.0 → 1.44.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 +18 -182
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +30 -330
- package/lib/seam/connect/openapi.d.ts +29 -280
- package/lib/seam/connect/openapi.js +16 -180
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1 -50
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +16 -180
- package/src/lib/seam/connect/route-types.ts +1 -57
|
@@ -492,43 +492,6 @@ export interface Routes {
|
|
|
492
492
|
formData: {};
|
|
493
493
|
jsonResponse: {};
|
|
494
494
|
};
|
|
495
|
-
'/acs/access_groups/create': {
|
|
496
|
-
route: '/acs/access_groups/create';
|
|
497
|
-
method: 'POST';
|
|
498
|
-
queryParams: {};
|
|
499
|
-
jsonBody: {};
|
|
500
|
-
commonParams: {
|
|
501
|
-
acs_system_id: string;
|
|
502
|
-
name?: string | undefined;
|
|
503
|
-
};
|
|
504
|
-
formData: {};
|
|
505
|
-
jsonResponse: {
|
|
506
|
-
acs_access_group: {
|
|
507
|
-
acs_access_group_id: string;
|
|
508
|
-
acs_system_id: string;
|
|
509
|
-
workspace_id: string;
|
|
510
|
-
name: string;
|
|
511
|
-
/** deprecated: use external_type */
|
|
512
|
-
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
513
|
-
/** deprecated: use external_type_display_name */
|
|
514
|
-
access_group_type_display_name: string;
|
|
515
|
-
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
516
|
-
external_type_display_name: string;
|
|
517
|
-
created_at: string;
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
'/acs/access_groups/delete': {
|
|
522
|
-
route: '/acs/access_groups/delete';
|
|
523
|
-
method: 'DELETE' | 'POST';
|
|
524
|
-
queryParams: {};
|
|
525
|
-
jsonBody: {};
|
|
526
|
-
commonParams: {
|
|
527
|
-
acs_access_group_id: string;
|
|
528
|
-
};
|
|
529
|
-
formData: {};
|
|
530
|
-
jsonResponse: {};
|
|
531
|
-
};
|
|
532
495
|
'/acs/access_groups/get': {
|
|
533
496
|
route: '/acs/access_groups/get';
|
|
534
497
|
method: 'GET' | 'POST';
|
|
@@ -619,18 +582,6 @@ export interface Routes {
|
|
|
619
582
|
formData: {};
|
|
620
583
|
jsonResponse: {};
|
|
621
584
|
};
|
|
622
|
-
'/acs/access_groups/update': {
|
|
623
|
-
route: '/acs/access_groups/update';
|
|
624
|
-
method: 'PATCH' | 'POST';
|
|
625
|
-
queryParams: {};
|
|
626
|
-
jsonBody: {};
|
|
627
|
-
commonParams: {
|
|
628
|
-
acs_access_group_id: string;
|
|
629
|
-
name?: (string | null) | undefined;
|
|
630
|
-
};
|
|
631
|
-
formData: {};
|
|
632
|
-
jsonResponse: {};
|
|
633
|
-
};
|
|
634
585
|
'/acs/credentials/assign': {
|
|
635
586
|
route: '/acs/credentials/assign';
|
|
636
587
|
method: 'PATCH' | 'POST';
|
|
@@ -1166,7 +1117,7 @@ export interface Routes {
|
|
|
1166
1117
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
1167
1118
|
custom_redirect_url?: string | undefined;
|
|
1168
1119
|
custom_redirect_failure_url?: string | undefined;
|
|
1169
|
-
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' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'yale_access'> | undefined;
|
|
1120
|
+
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' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'yale_access' | 'hid_cm'> | undefined;
|
|
1170
1121
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
1171
1122
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
1172
1123
|
automatically_manage_new_devices?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1583,6 +1583,12 @@ export default {
|
|
|
1583
1583
|
scheme: 'bearer',
|
|
1584
1584
|
type: 'http',
|
|
1585
1585
|
},
|
|
1586
|
+
api_key: { bearerFormat: 'API Key', scheme: 'bearer', type: 'http' },
|
|
1587
|
+
client_session: {
|
|
1588
|
+
bearerFormat: 'Client Session Token',
|
|
1589
|
+
scheme: 'bearer',
|
|
1590
|
+
type: 'http',
|
|
1591
|
+
},
|
|
1586
1592
|
client_session_token: {
|
|
1587
1593
|
in: 'header',
|
|
1588
1594
|
name: 'client-session-token',
|
|
@@ -1594,6 +1600,11 @@ export default {
|
|
|
1594
1600
|
type: 'apiKey',
|
|
1595
1601
|
},
|
|
1596
1602
|
seam_workspace: { in: 'header', name: 'seam-workspace', type: 'apiKey' },
|
|
1603
|
+
user_session: {
|
|
1604
|
+
bearerFormat: 'User Session Token',
|
|
1605
|
+
scheme: 'bearer',
|
|
1606
|
+
type: 'http',
|
|
1607
|
+
},
|
|
1597
1608
|
},
|
|
1598
1609
|
},
|
|
1599
1610
|
info: { title: 'Seam Connect', version: '1.0.0' },
|
|
@@ -1970,9 +1981,10 @@ export default {
|
|
|
1970
1981
|
401: { description: 'Unauthorized' },
|
|
1971
1982
|
},
|
|
1972
1983
|
security: [
|
|
1973
|
-
{
|
|
1974
|
-
{
|
|
1975
|
-
{
|
|
1984
|
+
{ api_key: [] },
|
|
1985
|
+
{ access_token: [] },
|
|
1986
|
+
{ user_session: [] },
|
|
1987
|
+
{ client_session: [] },
|
|
1976
1988
|
],
|
|
1977
1989
|
summary: '/access_codes/get',
|
|
1978
1990
|
tags: ['/access_codes'],
|
|
@@ -2783,98 +2795,6 @@ export default {
|
|
|
2783
2795
|
'x-fern-ignore': true,
|
|
2784
2796
|
},
|
|
2785
2797
|
},
|
|
2786
|
-
'/acs/access_groups/create': {
|
|
2787
|
-
post: {
|
|
2788
|
-
operationId: 'acsAccessGroupsCreatePost',
|
|
2789
|
-
requestBody: {
|
|
2790
|
-
content: {
|
|
2791
|
-
'application/json': {
|
|
2792
|
-
schema: {
|
|
2793
|
-
properties: {
|
|
2794
|
-
acs_system_id: { format: 'uuid', type: 'string' },
|
|
2795
|
-
name: { type: 'string' },
|
|
2796
|
-
},
|
|
2797
|
-
required: ['acs_system_id'],
|
|
2798
|
-
type: 'object',
|
|
2799
|
-
},
|
|
2800
|
-
},
|
|
2801
|
-
},
|
|
2802
|
-
},
|
|
2803
|
-
responses: {
|
|
2804
|
-
200: {
|
|
2805
|
-
content: {
|
|
2806
|
-
'application/json': {
|
|
2807
|
-
schema: {
|
|
2808
|
-
properties: {
|
|
2809
|
-
acs_access_group: {
|
|
2810
|
-
$ref: '#/components/schemas/acs_access_group',
|
|
2811
|
-
},
|
|
2812
|
-
ok: { type: 'boolean' },
|
|
2813
|
-
},
|
|
2814
|
-
required: ['acs_access_group', 'ok'],
|
|
2815
|
-
type: 'object',
|
|
2816
|
-
},
|
|
2817
|
-
},
|
|
2818
|
-
},
|
|
2819
|
-
description: 'OK',
|
|
2820
|
-
},
|
|
2821
|
-
400: { description: 'Bad Request' },
|
|
2822
|
-
401: { description: 'Unauthorized' },
|
|
2823
|
-
},
|
|
2824
|
-
security: [
|
|
2825
|
-
{ access_token: [], seam_workspace: [] },
|
|
2826
|
-
{ seam_client_session_token: [] },
|
|
2827
|
-
{ client_session_token: [] },
|
|
2828
|
-
],
|
|
2829
|
-
summary: '/acs/access_groups/create',
|
|
2830
|
-
tags: [],
|
|
2831
|
-
'x-fern-sdk-group-name': ['acs', 'access_groups'],
|
|
2832
|
-
'x-fern-sdk-method-name': 'create',
|
|
2833
|
-
},
|
|
2834
|
-
},
|
|
2835
|
-
'/acs/access_groups/delete': {
|
|
2836
|
-
post: {
|
|
2837
|
-
operationId: 'acsAccessGroupsDeletePost',
|
|
2838
|
-
requestBody: {
|
|
2839
|
-
content: {
|
|
2840
|
-
'application/json': {
|
|
2841
|
-
schema: {
|
|
2842
|
-
properties: {
|
|
2843
|
-
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
2844
|
-
},
|
|
2845
|
-
required: ['acs_access_group_id'],
|
|
2846
|
-
type: 'object',
|
|
2847
|
-
},
|
|
2848
|
-
},
|
|
2849
|
-
},
|
|
2850
|
-
},
|
|
2851
|
-
responses: {
|
|
2852
|
-
200: {
|
|
2853
|
-
content: {
|
|
2854
|
-
'application/json': {
|
|
2855
|
-
schema: {
|
|
2856
|
-
properties: { ok: { type: 'boolean' } },
|
|
2857
|
-
required: ['ok'],
|
|
2858
|
-
type: 'object',
|
|
2859
|
-
},
|
|
2860
|
-
},
|
|
2861
|
-
},
|
|
2862
|
-
description: 'OK',
|
|
2863
|
-
},
|
|
2864
|
-
400: { description: 'Bad Request' },
|
|
2865
|
-
401: { description: 'Unauthorized' },
|
|
2866
|
-
},
|
|
2867
|
-
security: [
|
|
2868
|
-
{ access_token: [], seam_workspace: [] },
|
|
2869
|
-
{ seam_client_session_token: [] },
|
|
2870
|
-
{ client_session_token: [] },
|
|
2871
|
-
],
|
|
2872
|
-
summary: '/acs/access_groups/delete',
|
|
2873
|
-
tags: [],
|
|
2874
|
-
'x-fern-sdk-group-name': ['acs', 'access_groups'],
|
|
2875
|
-
'x-fern-sdk-method-name': 'delete',
|
|
2876
|
-
},
|
|
2877
|
-
},
|
|
2878
2798
|
'/acs/access_groups/get': {
|
|
2879
2799
|
post: {
|
|
2880
2800
|
operationId: 'acsAccessGroupsGetPost',
|
|
@@ -3065,91 +2985,6 @@ export default {
|
|
|
3065
2985
|
'x-fern-sdk-method-name': 'remove_user',
|
|
3066
2986
|
},
|
|
3067
2987
|
},
|
|
3068
|
-
'/acs/access_groups/update': {
|
|
3069
|
-
patch: {
|
|
3070
|
-
operationId: 'acsAccessGroupsUpdatePatch',
|
|
3071
|
-
requestBody: {
|
|
3072
|
-
content: {
|
|
3073
|
-
'application/json': {
|
|
3074
|
-
schema: {
|
|
3075
|
-
properties: {
|
|
3076
|
-
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
3077
|
-
name: { nullable: true, type: 'string' },
|
|
3078
|
-
},
|
|
3079
|
-
required: ['acs_access_group_id'],
|
|
3080
|
-
type: 'object',
|
|
3081
|
-
},
|
|
3082
|
-
},
|
|
3083
|
-
},
|
|
3084
|
-
},
|
|
3085
|
-
responses: {
|
|
3086
|
-
200: {
|
|
3087
|
-
content: {
|
|
3088
|
-
'application/json': {
|
|
3089
|
-
schema: {
|
|
3090
|
-
properties: { ok: { type: 'boolean' } },
|
|
3091
|
-
required: ['ok'],
|
|
3092
|
-
type: 'object',
|
|
3093
|
-
},
|
|
3094
|
-
},
|
|
3095
|
-
},
|
|
3096
|
-
description: 'OK',
|
|
3097
|
-
},
|
|
3098
|
-
400: { description: 'Bad Request' },
|
|
3099
|
-
401: { description: 'Unauthorized' },
|
|
3100
|
-
},
|
|
3101
|
-
security: [
|
|
3102
|
-
{ access_token: [], seam_workspace: [] },
|
|
3103
|
-
{ seam_client_session_token: [] },
|
|
3104
|
-
{ client_session_token: [] },
|
|
3105
|
-
],
|
|
3106
|
-
summary: '/acs/access_groups/update',
|
|
3107
|
-
tags: [],
|
|
3108
|
-
'x-fern-ignore': true,
|
|
3109
|
-
},
|
|
3110
|
-
post: {
|
|
3111
|
-
operationId: 'acsAccessGroupsUpdatePost',
|
|
3112
|
-
requestBody: {
|
|
3113
|
-
content: {
|
|
3114
|
-
'application/json': {
|
|
3115
|
-
schema: {
|
|
3116
|
-
properties: {
|
|
3117
|
-
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
3118
|
-
name: { nullable: true, type: 'string' },
|
|
3119
|
-
},
|
|
3120
|
-
required: ['acs_access_group_id'],
|
|
3121
|
-
type: 'object',
|
|
3122
|
-
},
|
|
3123
|
-
},
|
|
3124
|
-
},
|
|
3125
|
-
},
|
|
3126
|
-
responses: {
|
|
3127
|
-
200: {
|
|
3128
|
-
content: {
|
|
3129
|
-
'application/json': {
|
|
3130
|
-
schema: {
|
|
3131
|
-
properties: { ok: { type: 'boolean' } },
|
|
3132
|
-
required: ['ok'],
|
|
3133
|
-
type: 'object',
|
|
3134
|
-
},
|
|
3135
|
-
},
|
|
3136
|
-
},
|
|
3137
|
-
description: 'OK',
|
|
3138
|
-
},
|
|
3139
|
-
400: { description: 'Bad Request' },
|
|
3140
|
-
401: { description: 'Unauthorized' },
|
|
3141
|
-
},
|
|
3142
|
-
security: [
|
|
3143
|
-
{ access_token: [], seam_workspace: [] },
|
|
3144
|
-
{ seam_client_session_token: [] },
|
|
3145
|
-
{ client_session_token: [] },
|
|
3146
|
-
],
|
|
3147
|
-
summary: '/acs/access_groups/update',
|
|
3148
|
-
tags: [],
|
|
3149
|
-
'x-fern-sdk-group-name': ['acs', 'access_groups'],
|
|
3150
|
-
'x-fern-sdk-method-name': 'update',
|
|
3151
|
-
},
|
|
3152
|
-
},
|
|
3153
2988
|
'/acs/credentials/assign': {
|
|
3154
2989
|
patch: {
|
|
3155
2990
|
operationId: 'acsCredentialsAssignPatch',
|
|
@@ -4841,6 +4676,7 @@ export default {
|
|
|
4841
4676
|
'wyze',
|
|
4842
4677
|
'seam_passport',
|
|
4843
4678
|
'yale_access',
|
|
4679
|
+
'hid_cm',
|
|
4844
4680
|
],
|
|
4845
4681
|
type: 'string',
|
|
4846
4682
|
},
|
|
@@ -504,51 +504,6 @@ export interface Routes {
|
|
|
504
504
|
formData: {}
|
|
505
505
|
jsonResponse: {}
|
|
506
506
|
}
|
|
507
|
-
'/acs/access_groups/create': {
|
|
508
|
-
route: '/acs/access_groups/create'
|
|
509
|
-
method: 'POST'
|
|
510
|
-
queryParams: {}
|
|
511
|
-
jsonBody: {}
|
|
512
|
-
commonParams: {
|
|
513
|
-
acs_system_id: string
|
|
514
|
-
name?: string | undefined
|
|
515
|
-
}
|
|
516
|
-
formData: {}
|
|
517
|
-
jsonResponse: {
|
|
518
|
-
acs_access_group: {
|
|
519
|
-
acs_access_group_id: string
|
|
520
|
-
acs_system_id: string
|
|
521
|
-
workspace_id: string
|
|
522
|
-
name: string
|
|
523
|
-
/** deprecated: use external_type */
|
|
524
|
-
access_group_type:
|
|
525
|
-
| 'pti_unit'
|
|
526
|
-
| 'pti_access_level'
|
|
527
|
-
| 'salto_access_group'
|
|
528
|
-
| 'brivo_group'
|
|
529
|
-
/** deprecated: use external_type_display_name */
|
|
530
|
-
access_group_type_display_name: string
|
|
531
|
-
external_type:
|
|
532
|
-
| 'pti_unit'
|
|
533
|
-
| 'pti_access_level'
|
|
534
|
-
| 'salto_access_group'
|
|
535
|
-
| 'brivo_group'
|
|
536
|
-
external_type_display_name: string
|
|
537
|
-
created_at: string
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
'/acs/access_groups/delete': {
|
|
542
|
-
route: '/acs/access_groups/delete'
|
|
543
|
-
method: 'DELETE' | 'POST'
|
|
544
|
-
queryParams: {}
|
|
545
|
-
jsonBody: {}
|
|
546
|
-
commonParams: {
|
|
547
|
-
acs_access_group_id: string
|
|
548
|
-
}
|
|
549
|
-
formData: {}
|
|
550
|
-
jsonResponse: {}
|
|
551
|
-
}
|
|
552
507
|
'/acs/access_groups/get': {
|
|
553
508
|
route: '/acs/access_groups/get'
|
|
554
509
|
method: 'GET' | 'POST'
|
|
@@ -655,18 +610,6 @@ export interface Routes {
|
|
|
655
610
|
formData: {}
|
|
656
611
|
jsonResponse: {}
|
|
657
612
|
}
|
|
658
|
-
'/acs/access_groups/update': {
|
|
659
|
-
route: '/acs/access_groups/update'
|
|
660
|
-
method: 'PATCH' | 'POST'
|
|
661
|
-
queryParams: {}
|
|
662
|
-
jsonBody: {}
|
|
663
|
-
commonParams: {
|
|
664
|
-
acs_access_group_id: string
|
|
665
|
-
name?: (string | null) | undefined
|
|
666
|
-
}
|
|
667
|
-
formData: {}
|
|
668
|
-
jsonResponse: {}
|
|
669
|
-
}
|
|
670
613
|
'/acs/credentials/assign': {
|
|
671
614
|
route: '/acs/credentials/assign'
|
|
672
615
|
method: 'PATCH' | 'POST'
|
|
@@ -1246,6 +1189,7 @@ export interface Routes {
|
|
|
1246
1189
|
| 'wyze'
|
|
1247
1190
|
| 'seam_passport'
|
|
1248
1191
|
| 'yale_access'
|
|
1192
|
+
| 'hid_cm'
|
|
1249
1193
|
>
|
|
1250
1194
|
| undefined
|
|
1251
1195
|
provider_category?:
|