@seamapi/types 1.340.0 → 1.341.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 +63 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +112 -143
- package/lib/seam/connect/models/acs/acs-credential.js +2 -10
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- 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 +71 -87
- package/lib/seam/connect/openapi.js +54 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +41 -56
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -12
- package/src/lib/seam/connect/models/events/acs/credentials.ts +8 -7
- package/src/lib/seam/connect/openapi.ts +54 -7
- package/src/lib/seam/connect/route-types.ts +41 -56
|
@@ -4700,93 +4700,6 @@ declare const _default: {
|
|
|
4700
4700
|
'x-route-path': string;
|
|
4701
4701
|
deprecated?: never;
|
|
4702
4702
|
'x-deprecated'?: never;
|
|
4703
|
-
} | {
|
|
4704
|
-
description: string;
|
|
4705
|
-
properties: {
|
|
4706
|
-
acs_credential_id: {
|
|
4707
|
-
format: string;
|
|
4708
|
-
type: string;
|
|
4709
|
-
};
|
|
4710
|
-
acs_system_id: {
|
|
4711
|
-
description: string;
|
|
4712
|
-
format: string;
|
|
4713
|
-
type: string;
|
|
4714
|
-
};
|
|
4715
|
-
connected_account_id: {
|
|
4716
|
-
description: string;
|
|
4717
|
-
format: string;
|
|
4718
|
-
type: string;
|
|
4719
|
-
};
|
|
4720
|
-
created_at: {
|
|
4721
|
-
description: string;
|
|
4722
|
-
format: string;
|
|
4723
|
-
type: string;
|
|
4724
|
-
};
|
|
4725
|
-
event_id: {
|
|
4726
|
-
description: string;
|
|
4727
|
-
format: string;
|
|
4728
|
-
type: string;
|
|
4729
|
-
};
|
|
4730
|
-
event_type: {
|
|
4731
|
-
enum: string[];
|
|
4732
|
-
type: string;
|
|
4733
|
-
};
|
|
4734
|
-
occurred_at: {
|
|
4735
|
-
description: string;
|
|
4736
|
-
format: string;
|
|
4737
|
-
type: string;
|
|
4738
|
-
};
|
|
4739
|
-
workspace_id: {
|
|
4740
|
-
description: string;
|
|
4741
|
-
format: string;
|
|
4742
|
-
type: string;
|
|
4743
|
-
};
|
|
4744
|
-
access_code_id?: never;
|
|
4745
|
-
device_id?: never;
|
|
4746
|
-
code?: never;
|
|
4747
|
-
backup_access_code_id?: never;
|
|
4748
|
-
acs_user_id?: never;
|
|
4749
|
-
acs_encoder_id?: never;
|
|
4750
|
-
acs_access_group_id?: never;
|
|
4751
|
-
client_session_id?: never;
|
|
4752
|
-
connect_webview_id?: never;
|
|
4753
|
-
action_attempt_id?: never;
|
|
4754
|
-
action_type?: never;
|
|
4755
|
-
status?: never;
|
|
4756
|
-
error_code?: never;
|
|
4757
|
-
battery_level?: never;
|
|
4758
|
-
battery_status?: never;
|
|
4759
|
-
minut_metadata?: never;
|
|
4760
|
-
noise_level_decibels?: never;
|
|
4761
|
-
noise_level_nrs?: never;
|
|
4762
|
-
noise_threshold_id?: never;
|
|
4763
|
-
noise_threshold_name?: never;
|
|
4764
|
-
noiseaware_metadata?: never;
|
|
4765
|
-
method?: never;
|
|
4766
|
-
climate_preset_key?: never;
|
|
4767
|
-
is_fallback_climate_preset?: never;
|
|
4768
|
-
thermostat_schedule_id?: never;
|
|
4769
|
-
cooling_set_point_celsius?: never;
|
|
4770
|
-
cooling_set_point_fahrenheit?: never;
|
|
4771
|
-
fan_mode_setting?: never;
|
|
4772
|
-
heating_set_point_celsius?: never;
|
|
4773
|
-
heating_set_point_fahrenheit?: never;
|
|
4774
|
-
hvac_mode_setting?: never;
|
|
4775
|
-
lower_limit_celsius?: never;
|
|
4776
|
-
lower_limit_fahrenheit?: never;
|
|
4777
|
-
temperature_celsius?: never;
|
|
4778
|
-
temperature_fahrenheit?: never;
|
|
4779
|
-
upper_limit_celsius?: never;
|
|
4780
|
-
upper_limit_fahrenheit?: never;
|
|
4781
|
-
desired_temperature_celsius?: never;
|
|
4782
|
-
desired_temperature_fahrenheit?: never;
|
|
4783
|
-
enrollment_automation_id?: never;
|
|
4784
|
-
};
|
|
4785
|
-
required: string[];
|
|
4786
|
-
type: string;
|
|
4787
|
-
'x-route-path'?: never;
|
|
4788
|
-
deprecated?: never;
|
|
4789
|
-
'x-deprecated'?: never;
|
|
4790
4703
|
} | {
|
|
4791
4704
|
description: string;
|
|
4792
4705
|
properties: {
|
|
@@ -21037,6 +20950,77 @@ declare const _default: {
|
|
|
21037
20950
|
'x-title': string;
|
|
21038
20951
|
};
|
|
21039
20952
|
};
|
|
20953
|
+
'/thermostats/simulate/temperature_reached': {
|
|
20954
|
+
post: {
|
|
20955
|
+
operationId: string;
|
|
20956
|
+
requestBody: {
|
|
20957
|
+
content: {
|
|
20958
|
+
'application/json': {
|
|
20959
|
+
schema: {
|
|
20960
|
+
properties: {
|
|
20961
|
+
device_id: {
|
|
20962
|
+
format: string;
|
|
20963
|
+
type: string;
|
|
20964
|
+
};
|
|
20965
|
+
temperature_celsius: {
|
|
20966
|
+
format: string;
|
|
20967
|
+
type: string;
|
|
20968
|
+
};
|
|
20969
|
+
temperature_fahrenheit: {
|
|
20970
|
+
format: string;
|
|
20971
|
+
type: string;
|
|
20972
|
+
};
|
|
20973
|
+
};
|
|
20974
|
+
required: string[];
|
|
20975
|
+
type: string;
|
|
20976
|
+
};
|
|
20977
|
+
};
|
|
20978
|
+
};
|
|
20979
|
+
};
|
|
20980
|
+
responses: {
|
|
20981
|
+
200: {
|
|
20982
|
+
content: {
|
|
20983
|
+
'application/json': {
|
|
20984
|
+
schema: {
|
|
20985
|
+
properties: {
|
|
20986
|
+
ok: {
|
|
20987
|
+
type: string;
|
|
20988
|
+
};
|
|
20989
|
+
};
|
|
20990
|
+
required: string[];
|
|
20991
|
+
type: string;
|
|
20992
|
+
};
|
|
20993
|
+
};
|
|
20994
|
+
};
|
|
20995
|
+
description: string;
|
|
20996
|
+
};
|
|
20997
|
+
400: {
|
|
20998
|
+
description: string;
|
|
20999
|
+
};
|
|
21000
|
+
401: {
|
|
21001
|
+
description: string;
|
|
21002
|
+
};
|
|
21003
|
+
};
|
|
21004
|
+
security: ({
|
|
21005
|
+
api_key: never[];
|
|
21006
|
+
pat_with_workspace?: never;
|
|
21007
|
+
console_session_with_workspace?: never;
|
|
21008
|
+
} | {
|
|
21009
|
+
pat_with_workspace: never[];
|
|
21010
|
+
api_key?: never;
|
|
21011
|
+
console_session_with_workspace?: never;
|
|
21012
|
+
} | {
|
|
21013
|
+
console_session_with_workspace: never[];
|
|
21014
|
+
api_key?: never;
|
|
21015
|
+
pat_with_workspace?: never;
|
|
21016
|
+
})[];
|
|
21017
|
+
summary: string;
|
|
21018
|
+
tags: string[];
|
|
21019
|
+
'x-fern-sdk-group-name': string[];
|
|
21020
|
+
'x-fern-sdk-method-name': string;
|
|
21021
|
+
'x-response-key': null;
|
|
21022
|
+
};
|
|
21023
|
+
};
|
|
21040
21024
|
'/thermostats/update_climate_preset': {
|
|
21041
21025
|
patch: {
|
|
21042
21026
|
description: string;
|
|
@@ -948,7 +948,7 @@ export default {
|
|
|
948
948
|
'x-route-path': '/acs/access_groups',
|
|
949
949
|
},
|
|
950
950
|
acs_credential: {
|
|
951
|
-
description: 'Means by which a user gains access at an entrance
|
|
951
|
+
description: 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
952
952
|
properties: {
|
|
953
953
|
access_method: {
|
|
954
954
|
description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
|
|
@@ -2396,7 +2396,7 @@ export default {
|
|
|
2396
2396
|
nullable: true,
|
|
2397
2397
|
oneOf: [
|
|
2398
2398
|
{
|
|
2399
|
-
description: 'Means by which a user gains access at an entrance
|
|
2399
|
+
description: 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
2400
2400
|
properties: {
|
|
2401
2401
|
access_method: {
|
|
2402
2402
|
description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
|
|
@@ -2732,7 +2732,7 @@ export default {
|
|
|
2732
2732
|
'x-route-path': '/acs/credentials',
|
|
2733
2733
|
},
|
|
2734
2734
|
{
|
|
2735
|
-
description: 'Means by which a user gains access at an entrance
|
|
2735
|
+
description: 'Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
2736
2736
|
properties: {
|
|
2737
2737
|
access_method: {
|
|
2738
2738
|
description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
|
|
@@ -3197,10 +3197,10 @@ export default {
|
|
|
3197
3197
|
action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
|
|
3198
3198
|
error: { nullable: true },
|
|
3199
3199
|
result: {
|
|
3200
|
-
description: 'Means by which a user gains access at an entrance
|
|
3200
|
+
description: 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
3201
3201
|
oneOf: [
|
|
3202
3202
|
{
|
|
3203
|
-
description: 'Means by which a user gains access at an entrance
|
|
3203
|
+
description: 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
3204
3204
|
properties: {
|
|
3205
3205
|
access_method: {
|
|
3206
3206
|
description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
|
|
@@ -3534,7 +3534,7 @@ export default {
|
|
|
3534
3534
|
'x-route-path': '/acs/credentials',
|
|
3535
3535
|
},
|
|
3536
3536
|
{
|
|
3537
|
-
description: 'Means by which a user gains access at an entrance
|
|
3537
|
+
description: 'Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
3538
3538
|
properties: {
|
|
3539
3539
|
access_method: {
|
|
3540
3540
|
description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
|
|
@@ -8209,6 +8209,7 @@ export default {
|
|
|
8209
8209
|
'event_type',
|
|
8210
8210
|
],
|
|
8211
8211
|
type: 'object',
|
|
8212
|
+
'x-route-path': '/acs/credentials',
|
|
8212
8213
|
},
|
|
8213
8214
|
{
|
|
8214
8215
|
description: 'An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.',
|
|
@@ -12530,7 +12531,7 @@ export default {
|
|
|
12530
12531
|
'x-route-path': '/acs/access_groups/unmanaged',
|
|
12531
12532
|
},
|
|
12532
12533
|
unmanaged_acs_credential: {
|
|
12533
|
-
description: 'Means by which a user gains access at an entrance
|
|
12534
|
+
description: 'Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
12534
12535
|
properties: {
|
|
12535
12536
|
access_method: {
|
|
12536
12537
|
description: 'Access method for the credential. Supported values: `code`, `card`, `mobile_key`.',
|
|
@@ -24307,6 +24308,52 @@ export default {
|
|
|
24307
24308
|
'x-title': 'Set a Temperature Threshold',
|
|
24308
24309
|
},
|
|
24309
24310
|
},
|
|
24311
|
+
'/thermostats/simulate/temperature_reached': {
|
|
24312
|
+
post: {
|
|
24313
|
+
operationId: 'thermostatsSimulateTemperatureReachedPost',
|
|
24314
|
+
requestBody: {
|
|
24315
|
+
content: {
|
|
24316
|
+
'application/json': {
|
|
24317
|
+
schema: {
|
|
24318
|
+
properties: {
|
|
24319
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
24320
|
+
temperature_celsius: { format: 'float', type: 'number' },
|
|
24321
|
+
temperature_fahrenheit: { format: 'float', type: 'number' },
|
|
24322
|
+
},
|
|
24323
|
+
required: ['device_id'],
|
|
24324
|
+
type: 'object',
|
|
24325
|
+
},
|
|
24326
|
+
},
|
|
24327
|
+
},
|
|
24328
|
+
},
|
|
24329
|
+
responses: {
|
|
24330
|
+
200: {
|
|
24331
|
+
content: {
|
|
24332
|
+
'application/json': {
|
|
24333
|
+
schema: {
|
|
24334
|
+
properties: { ok: { type: 'boolean' } },
|
|
24335
|
+
required: ['ok'],
|
|
24336
|
+
type: 'object',
|
|
24337
|
+
},
|
|
24338
|
+
},
|
|
24339
|
+
},
|
|
24340
|
+
description: 'OK',
|
|
24341
|
+
},
|
|
24342
|
+
400: { description: 'Bad Request' },
|
|
24343
|
+
401: { description: 'Unauthorized' },
|
|
24344
|
+
},
|
|
24345
|
+
security: [
|
|
24346
|
+
{ api_key: [] },
|
|
24347
|
+
{ pat_with_workspace: [] },
|
|
24348
|
+
{ console_session_with_workspace: [] },
|
|
24349
|
+
],
|
|
24350
|
+
summary: '/thermostats/simulate/temperature_reached',
|
|
24351
|
+
tags: ['/thermostats'],
|
|
24352
|
+
'x-fern-sdk-group-name': ['thermostats', 'simulate'],
|
|
24353
|
+
'x-fern-sdk-method-name': 'temperature_reached',
|
|
24354
|
+
'x-response-key': null,
|
|
24355
|
+
},
|
|
24356
|
+
},
|
|
24310
24357
|
'/thermostats/update_climate_preset': {
|
|
24311
24358
|
patch: {
|
|
24312
24359
|
description: 'Updates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
|