@seamapi/http 1.109.0 → 1.111.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 +127 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +29 -2
- package/dist/index.cjs +127 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/access-codes/access-codes.js +3 -0
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/customers/reservations/reservations.js +6 -0
- package/lib/seam/connect/routes/customers/reservations/reservations.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +12 -0
- package/lib/seam/connect/routes/locks/locks.js +9 -0
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js +9 -0
- package/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.d.ts +13 -0
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js +12 -0
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +3 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +5 -3
- package/lib/seam/connect/routes/seam-http-endpoints.js +35 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +5 -0
- package/src/lib/seam/connect/routes/customers/reservations/reservations.ts +10 -0
- package/src/lib/seam/connect/routes/locks/locks.ts +38 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/customers/automations/automations.ts +15 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/customers/customers.ts +10 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts +41 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +10 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +5 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +69 -0
- package/src/lib/version.ts +1 -1
|
@@ -30,6 +30,9 @@ export class SeamHttpSeamCustomerV1 {
|
|
|
30
30
|
static ltsVersion = seamApiLtsVersion;
|
|
31
31
|
constructor(apiKeyOrOptions = {}) {
|
|
32
32
|
const options = parseOptions(apiKeyOrOptions);
|
|
33
|
+
if (!options.isUndocumentedApiEnabled) {
|
|
34
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
35
|
+
}
|
|
33
36
|
this.client = 'client' in options ? options.client : createClient(options);
|
|
34
37
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
35
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/v1.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,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AAC,CAAA;IAC9E,CAAC;IAED,IAAI,MAAM;QACR,OAAO,4BAA4B,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC5E,CAAC;IAED,IAAI,YAAY;QACd,OAAO,kCAAkC,CAAC,UAAU,CAClD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,QAAQ,CACd,CAAA;IACH,CAAC"}
|
|
@@ -34,7 +34,7 @@ import { type DevicesSimulateConnectOptions, type DevicesSimulateConnectParamete
|
|
|
34
34
|
import { type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParameters, type DevicesUnmanagedGetRequest, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParameters, type DevicesUnmanagedListRequest, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateParameters, type DevicesUnmanagedUpdateRequest } from './devices/unmanaged/index.js';
|
|
35
35
|
import { type EventsGetOptions, type EventsGetParameters, type EventsGetRequest, type EventsListOptions, type EventsListParameters, type EventsListRequest } from './events/index.js';
|
|
36
36
|
import { type InstantKeysDeleteOptions, type InstantKeysDeleteParameters, type InstantKeysDeleteRequest, type InstantKeysGetOptions, type InstantKeysGetParameters, type InstantKeysGetRequest, type InstantKeysListOptions, type InstantKeysListParameters, type InstantKeysListRequest } from './instant-keys/index.js';
|
|
37
|
-
import { type LocksGetOptions, type LocksGetParameters, type LocksGetRequest, type LocksListOptions, type LocksListParameters, type LocksListRequest, type LocksLockDoorOptions, type LocksLockDoorParameters, type LocksLockDoorRequest, type LocksUnlockDoorOptions, type LocksUnlockDoorParameters, type LocksUnlockDoorRequest } from './locks/index.js';
|
|
37
|
+
import { type LocksConfigureAutoLockOptions, type LocksConfigureAutoLockParameters, type LocksConfigureAutoLockRequest, type LocksGetOptions, type LocksGetParameters, type LocksGetRequest, type LocksListOptions, type LocksListParameters, type LocksListRequest, type LocksLockDoorOptions, type LocksLockDoorParameters, type LocksLockDoorRequest, type LocksUnlockDoorOptions, type LocksUnlockDoorParameters, type LocksUnlockDoorRequest } from './locks/index.js';
|
|
38
38
|
import { type LocksSimulateKeypadCodeEntryOptions, type LocksSimulateKeypadCodeEntryParameters, type LocksSimulateKeypadCodeEntryRequest, type LocksSimulateManualLockViaKeypadOptions, type LocksSimulateManualLockViaKeypadParameters, type LocksSimulateManualLockViaKeypadRequest } from './locks/simulate/index.js';
|
|
39
39
|
import { type NoiseSensorsListOptions, type NoiseSensorsListParameters, type NoiseSensorsListRequest } from './noise-sensors/index.js';
|
|
40
40
|
import { type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateParameters, type NoiseSensorsNoiseThresholdsCreateRequest, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParameters, type NoiseSensorsNoiseThresholdsDeleteRequest, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParameters, type NoiseSensorsNoiseThresholdsGetRequest, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParameters, type NoiseSensorsNoiseThresholdsListRequest, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateParameters, type NoiseSensorsNoiseThresholdsUpdateRequest } from './noise-sensors/noise-thresholds/index.js';
|
|
@@ -53,7 +53,7 @@ import { type SeamCustomerV1CustomersAutomationsGetOptions, type SeamCustomerV1C
|
|
|
53
53
|
import { type SeamCustomerV1CustomersListOptions, type SeamCustomerV1CustomersListParameters, type SeamCustomerV1CustomersListRequest, type SeamCustomerV1CustomersMeOptions, type SeamCustomerV1CustomersMeParameters, type SeamCustomerV1CustomersMeRequest, type SeamCustomerV1CustomersOpenPortalOptions, type SeamCustomerV1CustomersOpenPortalParameters, type SeamCustomerV1CustomersOpenPortalRequest } from './seam/customer/v1/customers/index.js';
|
|
54
54
|
import { type SeamCustomerV1EncodersListOptions, type SeamCustomerV1EncodersListParameters, type SeamCustomerV1EncodersListRequest } from './seam/customer/v1/encoders/index.js';
|
|
55
55
|
import { type SeamCustomerV1EventsListOptions, type SeamCustomerV1EventsListParameters, type SeamCustomerV1EventsListRequest } from './seam/customer/v1/events/index.js';
|
|
56
|
-
import { type SeamCustomerV1PortalsGetOptions, type SeamCustomerV1PortalsGetParameters, type SeamCustomerV1PortalsGetRequest } from './seam/customer/v1/portals/index.js';
|
|
56
|
+
import { type SeamCustomerV1PortalsGetOptions, type SeamCustomerV1PortalsGetParameters, type SeamCustomerV1PortalsGetRequest, type SeamCustomerV1PortalsUpdateOptions, type SeamCustomerV1PortalsUpdateParameters, type SeamCustomerV1PortalsUpdateRequest } from './seam/customer/v1/portals/index.js';
|
|
57
57
|
import { type SeamCustomerV1ReservationsGetOptions, type SeamCustomerV1ReservationsGetParameters, type SeamCustomerV1ReservationsGetRequest, type SeamCustomerV1ReservationsListAccessGrantsOptions, type SeamCustomerV1ReservationsListAccessGrantsParameters, type SeamCustomerV1ReservationsListAccessGrantsRequest, type SeamCustomerV1ReservationsListOptions, type SeamCustomerV1ReservationsListParameters, type SeamCustomerV1ReservationsListRequest } from './seam/customer/v1/reservations/index.js';
|
|
58
58
|
import { type SeamCustomerV1SettingsGetOptions, type SeamCustomerV1SettingsGetParameters, type SeamCustomerV1SettingsGetRequest, type SeamCustomerV1SettingsUpdateOptions, type SeamCustomerV1SettingsUpdateParameters, type SeamCustomerV1SettingsUpdateRequest } from './seam/customer/v1/settings/index.js';
|
|
59
59
|
import { type SeamCustomerV1SettingsVerticalResourceAliasesGetOptions, type SeamCustomerV1SettingsVerticalResourceAliasesGetParameters, type SeamCustomerV1SettingsVerticalResourceAliasesGetRequest } from './seam/customer/v1/settings/vertical-resource-aliases/index.js';
|
|
@@ -217,6 +217,7 @@ export declare class SeamHttpEndpoints {
|
|
|
217
217
|
get '/instant_keys/delete'(): (parameters?: InstantKeysDeleteParameters, options?: InstantKeysDeleteOptions) => InstantKeysDeleteRequest;
|
|
218
218
|
get '/instant_keys/get'(): (parameters?: InstantKeysGetParameters, options?: InstantKeysGetOptions) => InstantKeysGetRequest;
|
|
219
219
|
get '/instant_keys/list'(): (parameters?: InstantKeysListParameters, options?: InstantKeysListOptions) => InstantKeysListRequest;
|
|
220
|
+
get '/locks/configure_auto_lock'(): (parameters?: LocksConfigureAutoLockParameters, options?: LocksConfigureAutoLockOptions) => LocksConfigureAutoLockRequest;
|
|
220
221
|
get '/locks/get'(): (parameters?: LocksGetParameters, options?: LocksGetOptions) => LocksGetRequest;
|
|
221
222
|
get '/locks/list'(): (parameters?: LocksListParameters, options?: LocksListOptions) => LocksListRequest;
|
|
222
223
|
get '/locks/lock_door'(): (parameters?: LocksLockDoorParameters, options?: LocksLockDoorOptions) => LocksLockDoorRequest;
|
|
@@ -259,6 +260,7 @@ export declare class SeamHttpEndpoints {
|
|
|
259
260
|
get '/seam/customer/v1/encoders/list'(): (parameters?: SeamCustomerV1EncodersListParameters, options?: SeamCustomerV1EncodersListOptions) => SeamCustomerV1EncodersListRequest;
|
|
260
261
|
get '/seam/customer/v1/events/list'(): (parameters?: SeamCustomerV1EventsListParameters, options?: SeamCustomerV1EventsListOptions) => SeamCustomerV1EventsListRequest;
|
|
261
262
|
get '/seam/customer/v1/portals/get'(): (parameters?: SeamCustomerV1PortalsGetParameters, options?: SeamCustomerV1PortalsGetOptions) => SeamCustomerV1PortalsGetRequest;
|
|
263
|
+
get '/seam/customer/v1/portals/update'(): (parameters?: SeamCustomerV1PortalsUpdateParameters, options?: SeamCustomerV1PortalsUpdateOptions) => SeamCustomerV1PortalsUpdateRequest;
|
|
262
264
|
get '/seam/customer/v1/reservations/get'(): (parameters?: SeamCustomerV1ReservationsGetParameters, options?: SeamCustomerV1ReservationsGetOptions) => SeamCustomerV1ReservationsGetRequest;
|
|
263
265
|
get '/seam/customer/v1/reservations/list'(): (parameters?: SeamCustomerV1ReservationsListParameters, options?: SeamCustomerV1ReservationsListOptions) => SeamCustomerV1ReservationsListRequest;
|
|
264
266
|
get '/seam/customer/v1/reservations/list_access_grants'(): (parameters?: SeamCustomerV1ReservationsListAccessGrantsParameters, options?: SeamCustomerV1ReservationsListAccessGrantsOptions) => SeamCustomerV1ReservationsListAccessGrantsRequest;
|
|
@@ -350,4 +352,4 @@ export declare class SeamHttpEndpoints {
|
|
|
350
352
|
}
|
|
351
353
|
export type SeamHttpEndpointQueryPaths = '/access_codes/generate_code' | '/access_codes/get' | '/access_codes/get_timeline' | '/access_codes/list' | '/access_codes/unmanaged/get' | '/access_codes/unmanaged/list' | '/access_grants/get' | '/access_grants/get_related' | '/access_grants/list' | '/access_grants/unmanaged/get' | '/access_grants/unmanaged/list' | '/access_methods/get' | '/access_methods/get_related' | '/access_methods/list' | '/access_methods/unmanaged/get' | '/access_methods/unmanaged/list' | '/acs/access_groups/get' | '/acs/access_groups/list' | '/acs/access_groups/list_accessible_entrances' | '/acs/access_groups/list_users' | '/acs/access_groups/unmanaged/get' | '/acs/access_groups/unmanaged/list' | '/acs/credential_pools/list' | '/acs/credentials/get' | '/acs/credentials/list' | '/acs/credentials/list_accessible_entrances' | '/acs/credentials/unmanaged/get' | '/acs/credentials/unmanaged/list' | '/acs/encoders/get' | '/acs/encoders/list' | '/acs/entrances/get' | '/acs/entrances/list' | '/acs/entrances/list_credentials_with_access' | '/acs/systems/get' | '/acs/systems/list' | '/acs/systems/list_compatible_credential_manager_acs_systems' | '/acs/users/get' | '/acs/users/list' | '/acs/users/list_accessible_entrances' | '/acs/users/unmanaged/get' | '/acs/users/unmanaged/list' | '/action_attempts/get' | '/action_attempts/list' | '/bridges/get' | '/bridges/list' | '/client_sessions/get' | '/client_sessions/list' | '/connect_webviews/get' | '/connect_webviews/list' | '/connected_accounts/get' | '/connected_accounts/list' | '/devices/get' | '/devices/list' | '/devices/list_device_providers' | '/devices/unmanaged/get' | '/devices/unmanaged/list' | '/events/get' | '/events/list' | '/instant_keys/get' | '/instant_keys/list' | '/locks/get' | '/locks/list' | '/noise_sensors/list' | '/noise_sensors/noise_thresholds/get' | '/noise_sensors/noise_thresholds/list' | '/phones/get' | '/phones/list' | '/seam/console/v1/get_resource_locator' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/access_grants/list' | '/seam/customer/v1/automation_runs/list' | '/seam/customer/v1/automations/get' | '/seam/customer/v1/connector_customers/list' | '/seam/customer/v1/connectors/authorize' | '/seam/customer/v1/connectors/connector_types' | '/seam/customer/v1/connectors/list' | '/seam/customer/v1/customers/automations/get' | '/seam/customer/v1/customers/list' | '/seam/customer/v1/customers/me' | '/seam/customer/v1/encoders/list' | '/seam/customer/v1/events/list' | '/seam/customer/v1/portals/get' | '/seam/customer/v1/reservations/get' | '/seam/customer/v1/reservations/list' | '/seam/customer/v1/reservations/list_access_grants' | '/seam/customer/v1/settings/get' | '/seam/customer/v1/settings/vertical_resource_aliases/get' | '/seam/customer/v1/spaces/list' | '/seam/customer/v1/spaces/list_reservations' | '/seam/customer/v1/staff_members/get' | '/seam/customer/v1/staff_members/list' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/spaces/get' | '/spaces/get_related' | '/spaces/list' | '/thermostats/get' | '/thermostats/list' | '/thermostats/schedules/get' | '/thermostats/schedules/list' | '/unstable_partner/building_blocks/generate_magic_link' | '/user_identities/get' | '/user_identities/list' | '/user_identities/list_accessible_devices' | '/user_identities/list_acs_systems' | '/user_identities/list_acs_users' | '/user_identities/enrollment_automations/get' | '/user_identities/enrollment_automations/list' | '/user_identities/unmanaged/get' | '/user_identities/unmanaged/list' | '/webhooks/get' | '/webhooks/list' | '/workspaces/find_anything' | '/workspaces/get' | '/workspaces/list' | '/workspaces/customization_profiles/get' | '/workspaces/customization_profiles/list';
|
|
352
354
|
export type SeamHttpEndpointPaginatedQueryPaths = '/access_codes/list' | '/access_codes/unmanaged/list' | '/access_grants/list' | '/access_grants/unmanaged/list' | '/acs/credentials/list' | '/acs/encoders/list' | '/acs/entrances/list' | '/acs/users/list' | '/action_attempts/list' | '/connect_webviews/list' | '/connected_accounts/list' | '/devices/list' | '/devices/unmanaged/list' | '/seam/customer/v1/automation_runs/list' | '/seam/customer/v1/customers/list' | '/seam/customer/v1/reservations/list' | '/seam/customer/v1/staff_members/list' | '/user_identities/list' | '/user_identities/unmanaged/list';
|
|
353
|
-
export type SeamHttpEndpointMutationPaths = '/access_codes/create' | '/access_codes/create_multiple' | '/access_codes/delete' | '/access_codes/pull_backup_access_code' | '/access_codes/report_device_constraints' | '/access_codes/update' | '/access_codes/update_multiple' | '/access_codes/simulate/create_unmanaged_access_code' | '/access_codes/unmanaged/convert_to_managed' | '/access_codes/unmanaged/delete' | '/access_codes/unmanaged/update' | '/access_grants/create' | '/access_grants/delete' | '/access_grants/request_access_methods' | '/access_grants/update' | '/access_grants/unmanaged/update' | '/access_methods/delete' | '/access_methods/encode' | '/acs/access_groups/add_user' | '/acs/access_groups/delete' | '/acs/access_groups/remove_user' | '/acs/credential_provisioning_automations/launch' | '/acs/credentials/assign' | '/acs/credentials/create' | '/acs/credentials/create_offline_code' | '/acs/credentials/delete' | '/acs/credentials/unassign' | '/acs/credentials/update' | '/acs/encoders/encode_credential' | '/acs/encoders/scan_credential' | '/acs/encoders/simulate/next_credential_encode_will_fail' | '/acs/encoders/simulate/next_credential_encode_will_succeed' | '/acs/encoders/simulate/next_credential_scan_will_fail' | '/acs/encoders/simulate/next_credential_scan_will_succeed' | '/acs/entrances/grant_access' | '/acs/entrances/unlock' | '/acs/systems/report_devices' | '/acs/users/add_to_access_group' | '/acs/users/create' | '/acs/users/delete' | '/acs/users/remove_from_access_group' | '/acs/users/revoke_access_to_all_entrances' | '/acs/users/suspend' | '/acs/users/unsuspend' | '/acs/users/update' | '/client_sessions/create' | '/client_sessions/delete' | '/client_sessions/get_or_create' | '/client_sessions/grant_access' | '/client_sessions/revoke' | '/connect_webviews/create' | '/connect_webviews/delete' | '/connected_accounts/delete' | '/connected_accounts/sync' | '/connected_accounts/update' | '/connected_accounts/simulate/disconnect' | '/customers/create_portal' | '/customers/delete_data' | '/customers/push_data' | '/customers/reservations/create_deep_link' | '/devices/delete' | '/devices/report_provider_metadata' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/connect_to_hub' | '/devices/simulate/disconnect' | '/devices/simulate/disconnect_from_hub' | '/devices/simulate/paid_subscription' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/instant_keys/delete' | '/locks/lock_door' | '/locks/unlock_door' | '/locks/simulate/keypad_code_entry' | '/locks/simulate/manual_lock_via_keypad' | '/noise_sensors/noise_thresholds/create' | '/noise_sensors/noise_thresholds/delete' | '/noise_sensors/noise_thresholds/update' | '/noise_sensors/simulate/trigger_noise_threshold' | '/phones/deactivate' | '/phones/simulate/create_sandbox_phone' | '/seam/customer/v1/access_grants/update' | '/seam/customer/v1/access_methods/encode' | '/seam/customer/v1/automations/delete' | '/seam/customer/v1/automations/update' | '/seam/customer/v1/connectors/create' | '/seam/customer/v1/connectors/delete' | '/seam/customer/v1/connectors/sync' | '/seam/customer/v1/connectors/update' | '/seam/customer/v1/customers/automations/update' | '/seam/customer/v1/customers/open_portal' | '/seam/customer/v1/settings/update' | '/seam/customer/v1/spaces/create' | '/seam/customer/v1/spaces/push_common_areas' | '/spaces/add_acs_entrances' | '/spaces/add_devices' | '/spaces/create' | '/spaces/delete' | '/spaces/remove_acs_entrances' | '/spaces/remove_devices' | '/spaces/update' | '/thermostats/activate_climate_preset' | '/thermostats/cool' | '/thermostats/create_climate_preset' | '/thermostats/delete_climate_preset' | '/thermostats/heat' | '/thermostats/heat_cool' | '/thermostats/off' | '/thermostats/set_fallback_climate_preset' | '/thermostats/set_fan_mode' | '/thermostats/set_hvac_mode' | '/thermostats/set_temperature_threshold' | '/thermostats/update_climate_preset' | '/thermostats/update_weekly_program' | '/thermostats/daily_programs/create' | '/thermostats/daily_programs/delete' | '/thermostats/daily_programs/update' | '/thermostats/schedules/create' | '/thermostats/schedules/delete' | '/thermostats/schedules/update' | '/thermostats/simulate/hvac_mode_adjusted' | '/thermostats/simulate/temperature_reached' | '/unstable_partner/building_blocks/connect_accounts' | '/unstable_partner/building_blocks/manage_devices' | '/unstable_partner/building_blocks/organize_spaces' | '/user_identities/add_acs_user' | '/user_identities/create' | '/user_identities/delete' | '/user_identities/generate_instant_key' | '/user_identities/grant_access_to_device' | '/user_identities/remove_acs_user' | '/user_identities/revoke_access_to_device' | '/user_identities/update' | '/user_identities/enrollment_automations/delete' | '/user_identities/enrollment_automations/launch' | '/user_identities/unmanaged/update' | '/webhooks/create' | '/webhooks/delete' | '/webhooks/update' | '/workspaces/create' | '/workspaces/reset_sandbox' | '/workspaces/update' | '/workspaces/customization_profiles/create' | '/workspaces/customization_profiles/update' | '/workspaces/customization_profiles/upload_images';
|
|
355
|
+
export type SeamHttpEndpointMutationPaths = '/access_codes/create' | '/access_codes/create_multiple' | '/access_codes/delete' | '/access_codes/pull_backup_access_code' | '/access_codes/report_device_constraints' | '/access_codes/update' | '/access_codes/update_multiple' | '/access_codes/simulate/create_unmanaged_access_code' | '/access_codes/unmanaged/convert_to_managed' | '/access_codes/unmanaged/delete' | '/access_codes/unmanaged/update' | '/access_grants/create' | '/access_grants/delete' | '/access_grants/request_access_methods' | '/access_grants/update' | '/access_grants/unmanaged/update' | '/access_methods/delete' | '/access_methods/encode' | '/acs/access_groups/add_user' | '/acs/access_groups/delete' | '/acs/access_groups/remove_user' | '/acs/credential_provisioning_automations/launch' | '/acs/credentials/assign' | '/acs/credentials/create' | '/acs/credentials/create_offline_code' | '/acs/credentials/delete' | '/acs/credentials/unassign' | '/acs/credentials/update' | '/acs/encoders/encode_credential' | '/acs/encoders/scan_credential' | '/acs/encoders/simulate/next_credential_encode_will_fail' | '/acs/encoders/simulate/next_credential_encode_will_succeed' | '/acs/encoders/simulate/next_credential_scan_will_fail' | '/acs/encoders/simulate/next_credential_scan_will_succeed' | '/acs/entrances/grant_access' | '/acs/entrances/unlock' | '/acs/systems/report_devices' | '/acs/users/add_to_access_group' | '/acs/users/create' | '/acs/users/delete' | '/acs/users/remove_from_access_group' | '/acs/users/revoke_access_to_all_entrances' | '/acs/users/suspend' | '/acs/users/unsuspend' | '/acs/users/update' | '/client_sessions/create' | '/client_sessions/delete' | '/client_sessions/get_or_create' | '/client_sessions/grant_access' | '/client_sessions/revoke' | '/connect_webviews/create' | '/connect_webviews/delete' | '/connected_accounts/delete' | '/connected_accounts/sync' | '/connected_accounts/update' | '/connected_accounts/simulate/disconnect' | '/customers/create_portal' | '/customers/delete_data' | '/customers/push_data' | '/customers/reservations/create_deep_link' | '/devices/delete' | '/devices/report_provider_metadata' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/connect_to_hub' | '/devices/simulate/disconnect' | '/devices/simulate/disconnect_from_hub' | '/devices/simulate/paid_subscription' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/instant_keys/delete' | '/locks/configure_auto_lock' | '/locks/lock_door' | '/locks/unlock_door' | '/locks/simulate/keypad_code_entry' | '/locks/simulate/manual_lock_via_keypad' | '/noise_sensors/noise_thresholds/create' | '/noise_sensors/noise_thresholds/delete' | '/noise_sensors/noise_thresholds/update' | '/noise_sensors/simulate/trigger_noise_threshold' | '/phones/deactivate' | '/phones/simulate/create_sandbox_phone' | '/seam/customer/v1/access_grants/update' | '/seam/customer/v1/access_methods/encode' | '/seam/customer/v1/automations/delete' | '/seam/customer/v1/automations/update' | '/seam/customer/v1/connectors/create' | '/seam/customer/v1/connectors/delete' | '/seam/customer/v1/connectors/sync' | '/seam/customer/v1/connectors/update' | '/seam/customer/v1/customers/automations/update' | '/seam/customer/v1/customers/open_portal' | '/seam/customer/v1/portals/update' | '/seam/customer/v1/settings/update' | '/seam/customer/v1/spaces/create' | '/seam/customer/v1/spaces/push_common_areas' | '/spaces/add_acs_entrances' | '/spaces/add_devices' | '/spaces/create' | '/spaces/delete' | '/spaces/remove_acs_entrances' | '/spaces/remove_devices' | '/spaces/update' | '/thermostats/activate_climate_preset' | '/thermostats/cool' | '/thermostats/create_climate_preset' | '/thermostats/delete_climate_preset' | '/thermostats/heat' | '/thermostats/heat_cool' | '/thermostats/off' | '/thermostats/set_fallback_climate_preset' | '/thermostats/set_fan_mode' | '/thermostats/set_hvac_mode' | '/thermostats/set_temperature_threshold' | '/thermostats/update_climate_preset' | '/thermostats/update_weekly_program' | '/thermostats/daily_programs/create' | '/thermostats/daily_programs/delete' | '/thermostats/daily_programs/update' | '/thermostats/schedules/create' | '/thermostats/schedules/delete' | '/thermostats/schedules/update' | '/thermostats/simulate/hvac_mode_adjusted' | '/thermostats/simulate/temperature_reached' | '/unstable_partner/building_blocks/connect_accounts' | '/unstable_partner/building_blocks/manage_devices' | '/unstable_partner/building_blocks/organize_spaces' | '/user_identities/add_acs_user' | '/user_identities/create' | '/user_identities/delete' | '/user_identities/generate_instant_key' | '/user_identities/grant_access_to_device' | '/user_identities/remove_acs_user' | '/user_identities/revoke_access_to_device' | '/user_identities/update' | '/user_identities/enrollment_automations/delete' | '/user_identities/enrollment_automations/launch' | '/user_identities/unmanaged/update' | '/webhooks/create' | '/webhooks/delete' | '/webhooks/update' | '/workspaces/create' | '/workspaces/reset_sandbox' | '/workspaces/update' | '/workspaces/customization_profiles/create' | '/workspaces/customization_profiles/update' | '/workspaces/customization_profiles/upload_images';
|
|
@@ -190,6 +190,9 @@ export class SeamHttpEndpoints {
|
|
|
190
190
|
}
|
|
191
191
|
get '/access_codes/get_timeline'() {
|
|
192
192
|
const { client, defaults } = this;
|
|
193
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
194
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
195
|
+
}
|
|
193
196
|
return function accessCodesGetTimeline(...args) {
|
|
194
197
|
const seam = SeamHttpAccessCodes.fromClient(client, defaults);
|
|
195
198
|
return seam.getTimeline(...args);
|
|
@@ -958,6 +961,9 @@ export class SeamHttpEndpoints {
|
|
|
958
961
|
}
|
|
959
962
|
get '/customers/reservations/create_deep_link'() {
|
|
960
963
|
const { client, defaults } = this;
|
|
964
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
965
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
966
|
+
}
|
|
961
967
|
return function customersReservationsCreateDeepLink(...args) {
|
|
962
968
|
const seam = SeamHttpCustomersReservations.fromClient(client, defaults);
|
|
963
969
|
return seam.createDeepLink(...args);
|
|
@@ -1106,6 +1112,13 @@ export class SeamHttpEndpoints {
|
|
|
1106
1112
|
return seam.list(...args);
|
|
1107
1113
|
};
|
|
1108
1114
|
}
|
|
1115
|
+
get '/locks/configure_auto_lock'() {
|
|
1116
|
+
const { client, defaults } = this;
|
|
1117
|
+
return function locksConfigureAutoLock(...args) {
|
|
1118
|
+
const seam = SeamHttpLocks.fromClient(client, defaults);
|
|
1119
|
+
return seam.configureAutoLock(...args);
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1109
1122
|
get '/locks/get'() {
|
|
1110
1123
|
const { client, defaults } = this;
|
|
1111
1124
|
return function locksGet(...args) {
|
|
@@ -1397,6 +1410,9 @@ export class SeamHttpEndpoints {
|
|
|
1397
1410
|
}
|
|
1398
1411
|
get '/seam/customer/v1/customers/automations/get'() {
|
|
1399
1412
|
const { client, defaults } = this;
|
|
1413
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1414
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
1415
|
+
}
|
|
1400
1416
|
return function seamCustomerV1CustomersAutomationsGet(...args) {
|
|
1401
1417
|
const seam = SeamHttpSeamCustomerV1CustomersAutomations.fromClient(client, defaults);
|
|
1402
1418
|
return seam.get(...args);
|
|
@@ -1404,6 +1420,9 @@ export class SeamHttpEndpoints {
|
|
|
1404
1420
|
}
|
|
1405
1421
|
get '/seam/customer/v1/customers/automations/update'() {
|
|
1406
1422
|
const { client, defaults } = this;
|
|
1423
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1424
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
1425
|
+
}
|
|
1407
1426
|
return function seamCustomerV1CustomersAutomationsUpdate(...args) {
|
|
1408
1427
|
const seam = SeamHttpSeamCustomerV1CustomersAutomations.fromClient(client, defaults);
|
|
1409
1428
|
return seam.update(...args);
|
|
@@ -1421,6 +1440,9 @@ export class SeamHttpEndpoints {
|
|
|
1421
1440
|
}
|
|
1422
1441
|
get '/seam/customer/v1/customers/me'() {
|
|
1423
1442
|
const { client, defaults } = this;
|
|
1443
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1444
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
1445
|
+
}
|
|
1424
1446
|
return function seamCustomerV1CustomersMe(...args) {
|
|
1425
1447
|
const seam = SeamHttpSeamCustomerV1Customers.fromClient(client, defaults);
|
|
1426
1448
|
return seam.me(...args);
|
|
@@ -1466,6 +1488,16 @@ export class SeamHttpEndpoints {
|
|
|
1466
1488
|
return seam.get(...args);
|
|
1467
1489
|
};
|
|
1468
1490
|
}
|
|
1491
|
+
get '/seam/customer/v1/portals/update'() {
|
|
1492
|
+
const { client, defaults } = this;
|
|
1493
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1494
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
1495
|
+
}
|
|
1496
|
+
return function seamCustomerV1PortalsUpdate(...args) {
|
|
1497
|
+
const seam = SeamHttpSeamCustomerV1Portals.fromClient(client, defaults);
|
|
1498
|
+
return seam.update(...args);
|
|
1499
|
+
};
|
|
1500
|
+
}
|
|
1469
1501
|
get '/seam/customer/v1/reservations/get'() {
|
|
1470
1502
|
const { client, defaults } = this;
|
|
1471
1503
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -1558,6 +1590,9 @@ export class SeamHttpEndpoints {
|
|
|
1558
1590
|
}
|
|
1559
1591
|
get '/seam/customer/v1/spaces/push_common_areas'() {
|
|
1560
1592
|
const { client, defaults } = this;
|
|
1593
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
1594
|
+
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
1595
|
+
}
|
|
1561
1596
|
return function seamCustomerV1SpacesPushCommonAreas(...args) {
|
|
1562
1597
|
const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
|
|
1563
1598
|
return seam.pushCommonAreas(...args);
|