@seamapi/http 1.66.0 → 1.68.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.
@@ -3720,7 +3720,7 @@ type WorkspacesCustomizationProfilesGetResponse = SetNonNullable<Required<RouteR
3720
3720
  type WorkspacesCustomizationProfilesGetRequest = SeamHttpRequest<WorkspacesCustomizationProfilesGetResponse, 'customization_profile'>;
3721
3721
  interface WorkspacesCustomizationProfilesGetOptions {
3722
3722
  }
3723
- type WorkspacesCustomizationProfilesListParameters = RouteRequestParams<'/workspaces/customization_profiles/list'>;
3723
+ type WorkspacesCustomizationProfilesListParameters = RouteRequestBody<'/workspaces/customization_profiles/list'>;
3724
3724
  /**
3725
3725
  * @deprecated Use WorkspacesCustomizationProfilesListParameters instead.
3726
3726
  */
@@ -4122,7 +4122,7 @@ declare class SeamHttpEndpoints {
4122
4122
  get ['/workspaces/customization_profiles/upload_images'](): (parameters?: WorkspacesCustomizationProfilesUploadImagesParameters, options?: WorkspacesCustomizationProfilesUploadImagesOptions) => WorkspacesCustomizationProfilesUploadImagesRequest;
4123
4123
  }
4124
4124
  type SeamHttpEndpointQueryPaths = '/access_codes/generate_code' | '/access_codes/get' | '/access_codes/list' | '/access_codes/unmanaged/get' | '/access_codes/unmanaged/list' | '/access_grants/get' | '/access_grants/get_related' | '/access_grants/list' | '/access_methods/get' | '/access_methods/get_related' | '/access_methods/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/automation_runs/list' | '/seam/customer/v1/automations/get' | '/seam/customer/v1/events/list' | '/seam/customer/v1/portals/get' | '/seam/customer/v1/settings/get' | '/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' | '/webhooks/get' | '/webhooks/list' | '/workspaces/find_anything' | '/workspaces/get' | '/workspaces/list' | '/workspaces/customization_profiles/get' | '/workspaces/customization_profiles/list';
4125
- type SeamHttpEndpointPaginatedQueryPaths = '/access_codes/list' | '/access_codes/unmanaged/list' | '/acs/credentials/list' | '/acs/entrances/list' | '/acs/users/list' | '/connect_webviews/list' | '/connected_accounts/list' | '/devices/list' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/automation_runs/list';
4125
+ type SeamHttpEndpointPaginatedQueryPaths = '/access_codes/list' | '/access_codes/unmanaged/list' | '/acs/credentials/list' | '/acs/encoders/list' | '/acs/entrances/list' | '/acs/users/list' | '/connect_webviews/list' | '/connected_accounts/list' | '/devices/list' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/automation_runs/list';
4126
4126
  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/update' | '/access_methods/delete' | '/access_methods/encode' | '/acs/access_groups/add_user' | '/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/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' | '/customers/create_portal' | '/customers/delete_data' | '/customers/push_data' | '/devices/delete' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/connect_to_hub' | '/devices/simulate/disconnect' | '/devices/simulate/disconnect_from_hub' | '/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/automations/delete' | '/seam/customer/v1/automations/update' | '/seam/customer/v1/settings/update' | '/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' | '/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';
4127
4127
 
4128
4128
  declare class SeamHttpEndpointsWithoutWorkspace {
@@ -4301,7 +4301,7 @@ declare const isSeamActionAttemptError: <T extends {
4301
4301
  user_identity_id?: string | undefined;
4302
4302
  issued_at?: string | null | undefined;
4303
4303
  is_issued?: boolean | undefined;
4304
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
4304
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
4305
4305
  external_type_display_name?: string | undefined;
4306
4306
  acs_user_id?: string | undefined;
4307
4307
  acs_credential_pool_id?: string | undefined;
@@ -4373,7 +4373,7 @@ declare const isSeamActionAttemptError: <T extends {
4373
4373
  user_identity_id?: string | undefined;
4374
4374
  issued_at?: string | null | undefined;
4375
4375
  is_issued?: boolean | undefined;
4376
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
4376
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
4377
4377
  external_type_display_name?: string | undefined;
4378
4378
  acs_user_id?: string | undefined;
4379
4379
  acs_credential_pool_id?: string | undefined;
@@ -4473,7 +4473,7 @@ declare const isSeamActionAttemptError: <T extends {
4473
4473
  user_identity_id?: string | undefined;
4474
4474
  issued_at?: string | null | undefined;
4475
4475
  is_issued?: boolean | undefined;
4476
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
4476
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
4477
4477
  external_type_display_name?: string | undefined;
4478
4478
  acs_user_id?: string | undefined;
4479
4479
  acs_credential_pool_id?: string | undefined;
@@ -4545,7 +4545,7 @@ declare const isSeamActionAttemptError: <T extends {
4545
4545
  user_identity_id?: string | undefined;
4546
4546
  issued_at?: string | null | undefined;
4547
4547
  is_issued?: boolean | undefined;
4548
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
4548
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
4549
4549
  external_type_display_name?: string | undefined;
4550
4550
  acs_user_id?: string | undefined;
4551
4551
  acs_credential_pool_id?: string | undefined;
@@ -5025,7 +5025,7 @@ declare const isSeamActionAttemptFailedError: <T extends {
5025
5025
  user_identity_id?: string | undefined;
5026
5026
  issued_at?: string | null | undefined;
5027
5027
  is_issued?: boolean | undefined;
5028
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5028
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5029
5029
  external_type_display_name?: string | undefined;
5030
5030
  acs_user_id?: string | undefined;
5031
5031
  acs_credential_pool_id?: string | undefined;
@@ -5097,7 +5097,7 @@ declare const isSeamActionAttemptFailedError: <T extends {
5097
5097
  user_identity_id?: string | undefined;
5098
5098
  issued_at?: string | null | undefined;
5099
5099
  is_issued?: boolean | undefined;
5100
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5100
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5101
5101
  external_type_display_name?: string | undefined;
5102
5102
  acs_user_id?: string | undefined;
5103
5103
  acs_credential_pool_id?: string | undefined;
@@ -5197,7 +5197,7 @@ declare const isSeamActionAttemptFailedError: <T extends {
5197
5197
  user_identity_id?: string | undefined;
5198
5198
  issued_at?: string | null | undefined;
5199
5199
  is_issued?: boolean | undefined;
5200
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5200
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5201
5201
  external_type_display_name?: string | undefined;
5202
5202
  acs_user_id?: string | undefined;
5203
5203
  acs_credential_pool_id?: string | undefined;
@@ -5269,7 +5269,7 @@ declare const isSeamActionAttemptFailedError: <T extends {
5269
5269
  user_identity_id?: string | undefined;
5270
5270
  issued_at?: string | null | undefined;
5271
5271
  is_issued?: boolean | undefined;
5272
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5272
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5273
5273
  external_type_display_name?: string | undefined;
5274
5274
  acs_user_id?: string | undefined;
5275
5275
  acs_credential_pool_id?: string | undefined;
@@ -5749,7 +5749,7 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
5749
5749
  user_identity_id?: string | undefined;
5750
5750
  issued_at?: string | null | undefined;
5751
5751
  is_issued?: boolean | undefined;
5752
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5752
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5753
5753
  external_type_display_name?: string | undefined;
5754
5754
  acs_user_id?: string | undefined;
5755
5755
  acs_credential_pool_id?: string | undefined;
@@ -5821,7 +5821,7 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
5821
5821
  user_identity_id?: string | undefined;
5822
5822
  issued_at?: string | null | undefined;
5823
5823
  is_issued?: boolean | undefined;
5824
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5824
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5825
5825
  external_type_display_name?: string | undefined;
5826
5826
  acs_user_id?: string | undefined;
5827
5827
  acs_credential_pool_id?: string | undefined;
@@ -5921,7 +5921,7 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
5921
5921
  user_identity_id?: string | undefined;
5922
5922
  issued_at?: string | null | undefined;
5923
5923
  is_issued?: boolean | undefined;
5924
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5924
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5925
5925
  external_type_display_name?: string | undefined;
5926
5926
  acs_user_id?: string | undefined;
5927
5927
  acs_credential_pool_id?: string | undefined;
@@ -5993,7 +5993,7 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
5993
5993
  user_identity_id?: string | undefined;
5994
5994
  issued_at?: string | null | undefined;
5995
5995
  is_issued?: boolean | undefined;
5996
- external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
5996
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | undefined;
5997
5997
  external_type_display_name?: string | undefined;
5998
5998
  acs_user_id?: string | undefined;
5999
5999
  acs_credential_pool_id?: string | undefined;
package/dist/index.cjs CHANGED
@@ -8330,8 +8330,8 @@ var _SeamHttpWorkspacesCustomizationProfiles = class _SeamHttpWorkspacesCustomiz
8330
8330
  }
8331
8331
  return new SeamHttpRequest(this, {
8332
8332
  pathname: "/workspaces/customization_profiles/list",
8333
- method: "GET",
8334
- params: parameters,
8333
+ method: "POST",
8334
+ body: parameters,
8335
8335
  responseKey: "customization_profiles",
8336
8336
  options
8337
8337
  });