@seamapi/types 1.136.0 → 1.138.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 +44 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +75 -2
- package/lib/seam/connect/openapi.d.ts +62 -0
- package/lib/seam/connect/openapi.js +43 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +43 -0
- package/src/lib/seam/connect/route-types.ts +13 -0
package/dist/connect.d.cts
CHANGED
|
@@ -10723,6 +10723,68 @@ declare const _default: {
|
|
|
10723
10723
|
'x-fern-sdk-return-value': string;
|
|
10724
10724
|
};
|
|
10725
10725
|
};
|
|
10726
|
+
'/devices/simulate/remove': {
|
|
10727
|
+
post: {
|
|
10728
|
+
operationId: string;
|
|
10729
|
+
requestBody: {
|
|
10730
|
+
content: {
|
|
10731
|
+
'application/json': {
|
|
10732
|
+
schema: {
|
|
10733
|
+
properties: {
|
|
10734
|
+
device_id: {
|
|
10735
|
+
format: string;
|
|
10736
|
+
type: string;
|
|
10737
|
+
};
|
|
10738
|
+
};
|
|
10739
|
+
required: string[];
|
|
10740
|
+
type: string;
|
|
10741
|
+
};
|
|
10742
|
+
};
|
|
10743
|
+
};
|
|
10744
|
+
};
|
|
10745
|
+
responses: {
|
|
10746
|
+
200: {
|
|
10747
|
+
content: {
|
|
10748
|
+
'application/json': {
|
|
10749
|
+
schema: {
|
|
10750
|
+
properties: {
|
|
10751
|
+
ok: {
|
|
10752
|
+
type: string;
|
|
10753
|
+
};
|
|
10754
|
+
};
|
|
10755
|
+
required: string[];
|
|
10756
|
+
type: string;
|
|
10757
|
+
};
|
|
10758
|
+
};
|
|
10759
|
+
};
|
|
10760
|
+
description: string;
|
|
10761
|
+
};
|
|
10762
|
+
400: {
|
|
10763
|
+
description: string;
|
|
10764
|
+
};
|
|
10765
|
+
401: {
|
|
10766
|
+
description: string;
|
|
10767
|
+
};
|
|
10768
|
+
};
|
|
10769
|
+
security: ({
|
|
10770
|
+
api_key: never[];
|
|
10771
|
+
pat_with_workspace?: never;
|
|
10772
|
+
console_session?: never;
|
|
10773
|
+
} | {
|
|
10774
|
+
pat_with_workspace: never[];
|
|
10775
|
+
api_key?: never;
|
|
10776
|
+
console_session?: never;
|
|
10777
|
+
} | {
|
|
10778
|
+
console_session: never[];
|
|
10779
|
+
api_key?: never;
|
|
10780
|
+
pat_with_workspace?: never;
|
|
10781
|
+
})[];
|
|
10782
|
+
summary: string;
|
|
10783
|
+
tags: string[];
|
|
10784
|
+
'x-fern-sdk-group-name': string[];
|
|
10785
|
+
'x-fern-sdk-method-name': string;
|
|
10786
|
+
};
|
|
10787
|
+
};
|
|
10726
10788
|
'/devices/unmanaged/get': {
|
|
10727
10789
|
post: {
|
|
10728
10790
|
operationId: string;
|
|
@@ -18713,7 +18775,7 @@ interface Routes {
|
|
|
18713
18775
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
18714
18776
|
custom_redirect_url?: string | undefined;
|
|
18715
18777
|
custom_redirect_failure_url?: string | undefined;
|
|
18716
|
-
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' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
18778
|
+
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' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
18717
18779
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
18718
18780
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18719
18781
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -19950,13 +20012,24 @@ interface Routes {
|
|
|
19950
20012
|
formData: {};
|
|
19951
20013
|
jsonResponse: {
|
|
19952
20014
|
device_providers: Array<{
|
|
19953
|
-
device_provider_name: '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' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo';
|
|
20015
|
+
device_provider_name: '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' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch';
|
|
19954
20016
|
display_name: string;
|
|
19955
20017
|
image_url: string;
|
|
19956
20018
|
provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
|
|
19957
20019
|
}>;
|
|
19958
20020
|
};
|
|
19959
20021
|
};
|
|
20022
|
+
'/devices/simulate/remove': {
|
|
20023
|
+
route: '/devices/simulate/remove';
|
|
20024
|
+
method: 'DELETE' | 'POST';
|
|
20025
|
+
queryParams: {};
|
|
20026
|
+
jsonBody: {
|
|
20027
|
+
device_id: string;
|
|
20028
|
+
};
|
|
20029
|
+
commonParams: {};
|
|
20030
|
+
formData: {};
|
|
20031
|
+
jsonResponse: {};
|
|
20032
|
+
};
|
|
19960
20033
|
'/devices/unmanaged/get': {
|
|
19961
20034
|
route: '/devices/unmanaged/get';
|
|
19962
20035
|
method: 'GET' | 'POST';
|
|
@@ -10649,6 +10649,68 @@ declare const _default: {
|
|
|
10649
10649
|
'x-fern-sdk-return-value': string;
|
|
10650
10650
|
};
|
|
10651
10651
|
};
|
|
10652
|
+
'/devices/simulate/remove': {
|
|
10653
|
+
post: {
|
|
10654
|
+
operationId: string;
|
|
10655
|
+
requestBody: {
|
|
10656
|
+
content: {
|
|
10657
|
+
'application/json': {
|
|
10658
|
+
schema: {
|
|
10659
|
+
properties: {
|
|
10660
|
+
device_id: {
|
|
10661
|
+
format: string;
|
|
10662
|
+
type: string;
|
|
10663
|
+
};
|
|
10664
|
+
};
|
|
10665
|
+
required: string[];
|
|
10666
|
+
type: string;
|
|
10667
|
+
};
|
|
10668
|
+
};
|
|
10669
|
+
};
|
|
10670
|
+
};
|
|
10671
|
+
responses: {
|
|
10672
|
+
200: {
|
|
10673
|
+
content: {
|
|
10674
|
+
'application/json': {
|
|
10675
|
+
schema: {
|
|
10676
|
+
properties: {
|
|
10677
|
+
ok: {
|
|
10678
|
+
type: string;
|
|
10679
|
+
};
|
|
10680
|
+
};
|
|
10681
|
+
required: string[];
|
|
10682
|
+
type: string;
|
|
10683
|
+
};
|
|
10684
|
+
};
|
|
10685
|
+
};
|
|
10686
|
+
description: string;
|
|
10687
|
+
};
|
|
10688
|
+
400: {
|
|
10689
|
+
description: string;
|
|
10690
|
+
};
|
|
10691
|
+
401: {
|
|
10692
|
+
description: string;
|
|
10693
|
+
};
|
|
10694
|
+
};
|
|
10695
|
+
security: ({
|
|
10696
|
+
api_key: never[];
|
|
10697
|
+
pat_with_workspace?: never;
|
|
10698
|
+
console_session?: never;
|
|
10699
|
+
} | {
|
|
10700
|
+
pat_with_workspace: never[];
|
|
10701
|
+
api_key?: never;
|
|
10702
|
+
console_session?: never;
|
|
10703
|
+
} | {
|
|
10704
|
+
console_session: never[];
|
|
10705
|
+
api_key?: never;
|
|
10706
|
+
pat_with_workspace?: never;
|
|
10707
|
+
})[];
|
|
10708
|
+
summary: string;
|
|
10709
|
+
tags: string[];
|
|
10710
|
+
'x-fern-sdk-group-name': string[];
|
|
10711
|
+
'x-fern-sdk-method-name': string;
|
|
10712
|
+
};
|
|
10713
|
+
};
|
|
10652
10714
|
'/devices/unmanaged/get': {
|
|
10653
10715
|
post: {
|
|
10654
10716
|
operationId: string;
|
|
@@ -1745,6 +1745,7 @@ export default {
|
|
|
1745
1745
|
'seam_bridge',
|
|
1746
1746
|
'tedee',
|
|
1747
1747
|
'honeywell_resideo',
|
|
1748
|
+
'latch',
|
|
1748
1749
|
],
|
|
1749
1750
|
type: 'string',
|
|
1750
1751
|
},
|
|
@@ -7025,6 +7026,7 @@ export default {
|
|
|
7025
7026
|
'seam_bridge',
|
|
7026
7027
|
'tedee',
|
|
7027
7028
|
'honeywell_resideo',
|
|
7029
|
+
'latch',
|
|
7028
7030
|
'yale_access',
|
|
7029
7031
|
'hid_cm',
|
|
7030
7032
|
'google_nest',
|
|
@@ -7873,6 +7875,47 @@ export default {
|
|
|
7873
7875
|
'x-fern-sdk-return-value': 'device_providers',
|
|
7874
7876
|
},
|
|
7875
7877
|
},
|
|
7878
|
+
'/devices/simulate/remove': {
|
|
7879
|
+
post: {
|
|
7880
|
+
operationId: 'devicesSimulateRemovePost',
|
|
7881
|
+
requestBody: {
|
|
7882
|
+
content: {
|
|
7883
|
+
'application/json': {
|
|
7884
|
+
schema: {
|
|
7885
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
7886
|
+
required: ['device_id'],
|
|
7887
|
+
type: 'object',
|
|
7888
|
+
},
|
|
7889
|
+
},
|
|
7890
|
+
},
|
|
7891
|
+
},
|
|
7892
|
+
responses: {
|
|
7893
|
+
200: {
|
|
7894
|
+
content: {
|
|
7895
|
+
'application/json': {
|
|
7896
|
+
schema: {
|
|
7897
|
+
properties: { ok: { type: 'boolean' } },
|
|
7898
|
+
required: ['ok'],
|
|
7899
|
+
type: 'object',
|
|
7900
|
+
},
|
|
7901
|
+
},
|
|
7902
|
+
},
|
|
7903
|
+
description: 'OK',
|
|
7904
|
+
},
|
|
7905
|
+
400: { description: 'Bad Request' },
|
|
7906
|
+
401: { description: 'Unauthorized' },
|
|
7907
|
+
},
|
|
7908
|
+
security: [
|
|
7909
|
+
{ api_key: [] },
|
|
7910
|
+
{ pat_with_workspace: [] },
|
|
7911
|
+
{ console_session: [] },
|
|
7912
|
+
],
|
|
7913
|
+
summary: '/devices/simulate/remove',
|
|
7914
|
+
tags: ['/devices'],
|
|
7915
|
+
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
7916
|
+
'x-fern-sdk-method-name': 'remove',
|
|
7917
|
+
},
|
|
7918
|
+
},
|
|
7876
7919
|
'/devices/unmanaged/get': {
|
|
7877
7920
|
post: {
|
|
7878
7921
|
operationId: 'devicesUnmanagedGetPost',
|