@seamapi/http
Advanced tools
Comparing version 0.30.0 to 0.30.1
@@ -18,3 +18,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
convertToManaged(body?: AccessCodesUnmanagedConvertToManagedBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: AccessCodesUnmanagedDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: AccessCodesUnmanagedDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: AccessCodesUnmanagedGetParams): SeamHttpRequest<AccessCodesUnmanagedGetResponse, 'access_code'>; | ||
@@ -27,3 +27,3 @@ list(body?: AccessCodesUnmanagedListParams): SeamHttpRequest<AccessCodesUnmanagedListResponse, 'access_codes'>; | ||
export type AccessCodesUnmanagedConvertToManagedOptions = never; | ||
export type AccessCodesUnmanagedDeleteBody = RouteRequestBody<'/access_codes/unmanaged/delete'>; | ||
export type AccessCodesUnmanagedDeleteParams = RouteRequestBody<'/access_codes/unmanaged/delete'>; | ||
export type AccessCodesUnmanagedDeleteResponse = SetNonNullable<Required<RouteResponse<'/access_codes/unmanaged/delete'>>>; | ||
@@ -30,0 +30,0 @@ export type AccessCodesUnmanagedDeleteOptions = never; |
@@ -23,3 +23,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
createMultiple(body?: AccessCodesCreateMultipleBody): SeamHttpRequest<AccessCodesCreateMultipleResponse, 'access_codes'>; | ||
delete(body?: AccessCodesDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: AccessCodesDeleteParams): SeamHttpRequest<void, undefined>; | ||
generateCode(body?: AccessCodesGenerateCodeBody): SeamHttpRequest<AccessCodesGenerateCodeResponse, 'generated_code'>; | ||
@@ -37,3 +37,3 @@ get(body?: AccessCodesGetParams): SeamHttpRequest<AccessCodesGetResponse, 'access_code'>; | ||
export type AccessCodesCreateMultipleOptions = never; | ||
export type AccessCodesDeleteBody = RouteRequestBody<'/access_codes/delete'>; | ||
export type AccessCodesDeleteParams = RouteRequestBody<'/access_codes/delete'>; | ||
export type AccessCodesDeleteResponse = SetNonNullable<Required<RouteResponse<'/access_codes/delete'>>>; | ||
@@ -40,0 +40,0 @@ export type AccessCodesDeleteOptions = never; |
@@ -21,3 +21,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
listUsers(body?: AcsAccessGroupsListUsersParams): SeamHttpRequest<AcsAccessGroupsListUsersResponse, 'acs_users'>; | ||
removeUser(body?: AcsAccessGroupsRemoveUserBody): SeamHttpRequest<void, undefined>; | ||
removeUser(body?: AcsAccessGroupsRemoveUserParams): SeamHttpRequest<void, undefined>; | ||
} | ||
@@ -36,4 +36,4 @@ export type AcsAccessGroupsAddUserBody = RouteRequestBody<'/acs/access_groups/add_user'>; | ||
export type AcsAccessGroupsListUsersOptions = never; | ||
export type AcsAccessGroupsRemoveUserBody = RouteRequestBody<'/acs/access_groups/remove_user'>; | ||
export type AcsAccessGroupsRemoveUserParams = RouteRequestBody<'/acs/access_groups/remove_user'>; | ||
export type AcsAccessGroupsRemoveUserResponse = SetNonNullable<Required<RouteResponse<'/acs/access_groups/remove_user'>>>; | ||
export type AcsAccessGroupsRemoveUserOptions = never; |
@@ -19,3 +19,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: AcsCredentialsCreateBody): SeamHttpRequest<AcsCredentialsCreateResponse, 'acs_credential'>; | ||
delete(body?: AcsCredentialsDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: AcsCredentialsDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: AcsCredentialsGetParams): SeamHttpRequest<AcsCredentialsGetResponse, 'acs_credential'>; | ||
@@ -33,3 +33,3 @@ list(body?: AcsCredentialsListParams): SeamHttpRequest<AcsCredentialsListResponse, 'acs_credentials'>; | ||
export type AcsCredentialsCreateOptions = never; | ||
export type AcsCredentialsDeleteBody = RouteRequestBody<'/acs/credentials/delete'>; | ||
export type AcsCredentialsDeleteParams = RouteRequestBody<'/acs/credentials/delete'>; | ||
export type AcsCredentialsDeleteResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/delete'>>>; | ||
@@ -36,0 +36,0 @@ export type AcsCredentialsDeleteOptions = never; |
@@ -19,8 +19,8 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: AcsUsersCreateBody): SeamHttpRequest<AcsUsersCreateResponse, 'acs_user'>; | ||
delete(body?: AcsUsersDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: AcsUsersDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: AcsUsersGetParams): SeamHttpRequest<AcsUsersGetResponse, 'acs_user'>; | ||
list(body?: AcsUsersListParams): SeamHttpRequest<AcsUsersListResponse, 'acs_users'>; | ||
listAccessibleEntrances(body?: AcsUsersListAccessibleEntrancesParams): SeamHttpRequest<AcsUsersListAccessibleEntrancesResponse, 'acs_entrances'>; | ||
removeFromAccessGroup(body?: AcsUsersRemoveFromAccessGroupBody): SeamHttpRequest<void, undefined>; | ||
revokeAccessToAllEntrances(body?: AcsUsersRevokeAccessToAllEntrancesBody): SeamHttpRequest<void, undefined>; | ||
removeFromAccessGroup(body?: AcsUsersRemoveFromAccessGroupParams): SeamHttpRequest<void, undefined>; | ||
revokeAccessToAllEntrances(body?: AcsUsersRevokeAccessToAllEntrancesParams): SeamHttpRequest<void, undefined>; | ||
suspend(body?: AcsUsersSuspendBody): SeamHttpRequest<void, undefined>; | ||
@@ -36,3 +36,3 @@ unsuspend(body?: AcsUsersUnsuspendBody): SeamHttpRequest<void, undefined>; | ||
export type AcsUsersCreateOptions = never; | ||
export type AcsUsersDeleteBody = RouteRequestBody<'/acs/users/delete'>; | ||
export type AcsUsersDeleteParams = RouteRequestBody<'/acs/users/delete'>; | ||
export type AcsUsersDeleteResponse = SetNonNullable<Required<RouteResponse<'/acs/users/delete'>>>; | ||
@@ -49,6 +49,6 @@ export type AcsUsersDeleteOptions = never; | ||
export type AcsUsersListAccessibleEntrancesOptions = never; | ||
export type AcsUsersRemoveFromAccessGroupBody = RouteRequestBody<'/acs/users/remove_from_access_group'>; | ||
export type AcsUsersRemoveFromAccessGroupParams = RouteRequestBody<'/acs/users/remove_from_access_group'>; | ||
export type AcsUsersRemoveFromAccessGroupResponse = SetNonNullable<Required<RouteResponse<'/acs/users/remove_from_access_group'>>>; | ||
export type AcsUsersRemoveFromAccessGroupOptions = never; | ||
export type AcsUsersRevokeAccessToAllEntrancesBody = RouteRequestBody<'/acs/users/revoke_access_to_all_entrances'>; | ||
export type AcsUsersRevokeAccessToAllEntrancesParams = RouteRequestBody<'/acs/users/revoke_access_to_all_entrances'>; | ||
export type AcsUsersRevokeAccessToAllEntrancesResponse = SetNonNullable<Required<RouteResponse<'/acs/users/revoke_access_to_all_entrances'>>>; | ||
@@ -55,0 +55,0 @@ export type AcsUsersRevokeAccessToAllEntrancesOptions = never; |
@@ -18,3 +18,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: ClientSessionsCreateBody): SeamHttpRequest<ClientSessionsCreateResponse, 'client_session'>; | ||
delete(body?: ClientSessionsDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: ClientSessionsDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: ClientSessionsGetParams): SeamHttpRequest<ClientSessionsGetResponse, 'client_session'>; | ||
@@ -24,3 +24,3 @@ getOrCreate(body?: ClientSessionsGetOrCreateBody): SeamHttpRequest<ClientSessionsGetOrCreateResponse, 'client_session'>; | ||
list(body?: ClientSessionsListParams): SeamHttpRequest<ClientSessionsListResponse, 'client_sessions'>; | ||
revoke(body?: ClientSessionsRevokeBody): SeamHttpRequest<void, undefined>; | ||
revoke(body?: ClientSessionsRevokeParams): SeamHttpRequest<void, undefined>; | ||
} | ||
@@ -30,3 +30,3 @@ export type ClientSessionsCreateBody = RouteRequestBody<'/client_sessions/create'>; | ||
export type ClientSessionsCreateOptions = never; | ||
export type ClientSessionsDeleteBody = RouteRequestBody<'/client_sessions/delete'>; | ||
export type ClientSessionsDeleteParams = RouteRequestBody<'/client_sessions/delete'>; | ||
export type ClientSessionsDeleteResponse = SetNonNullable<Required<RouteResponse<'/client_sessions/delete'>>>; | ||
@@ -46,4 +46,4 @@ export type ClientSessionsDeleteOptions = never; | ||
export type ClientSessionsListOptions = never; | ||
export type ClientSessionsRevokeBody = RouteRequestBody<'/client_sessions/revoke'>; | ||
export type ClientSessionsRevokeParams = RouteRequestBody<'/client_sessions/revoke'>; | ||
export type ClientSessionsRevokeResponse = SetNonNullable<Required<RouteResponse<'/client_sessions/revoke'>>>; | ||
export type ClientSessionsRevokeOptions = never; |
@@ -18,3 +18,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: ConnectWebviewsCreateBody): SeamHttpRequest<ConnectWebviewsCreateResponse, 'connect_webview'>; | ||
delete(body?: ConnectWebviewsDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: ConnectWebviewsDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: ConnectWebviewsGetParams): SeamHttpRequest<ConnectWebviewsGetResponse, 'connect_webview'>; | ||
@@ -26,3 +26,3 @@ list(body?: ConnectWebviewsListParams): SeamHttpRequest<ConnectWebviewsListResponse, 'connect_webviews'>; | ||
export type ConnectWebviewsCreateOptions = never; | ||
export type ConnectWebviewsDeleteBody = RouteRequestBody<'/connect_webviews/delete'>; | ||
export type ConnectWebviewsDeleteParams = RouteRequestBody<'/connect_webviews/delete'>; | ||
export type ConnectWebviewsDeleteResponse = SetNonNullable<Required<RouteResponse<'/connect_webviews/delete'>>>; | ||
@@ -29,0 +29,0 @@ export type ConnectWebviewsDeleteOptions = never; |
@@ -17,3 +17,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>; | ||
delete(body?: ConnectedAccountsDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: ConnectedAccountsDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: ConnectedAccountsGetParams): SeamHttpRequest<ConnectedAccountsGetResponse, 'connected_account'>; | ||
@@ -23,3 +23,3 @@ list(body?: ConnectedAccountsListParams): SeamHttpRequest<ConnectedAccountsListResponse, 'connected_accounts'>; | ||
} | ||
export type ConnectedAccountsDeleteBody = RouteRequestBody<'/connected_accounts/delete'>; | ||
export type ConnectedAccountsDeleteParams = RouteRequestBody<'/connected_accounts/delete'>; | ||
export type ConnectedAccountsDeleteResponse = SetNonNullable<Required<RouteResponse<'/connected_accounts/delete'>>>; | ||
@@ -26,0 +26,0 @@ export type ConnectedAccountsDeleteOptions = never; |
@@ -17,6 +17,6 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>; | ||
remove(body?: DevicesSimulateRemoveBody): SeamHttpRequest<void, undefined>; | ||
remove(body?: DevicesSimulateRemoveParams): SeamHttpRequest<void, undefined>; | ||
} | ||
export type DevicesSimulateRemoveBody = RouteRequestBody<'/devices/simulate/remove'>; | ||
export type DevicesSimulateRemoveParams = RouteRequestBody<'/devices/simulate/remove'>; | ||
export type DevicesSimulateRemoveResponse = SetNonNullable<Required<RouteResponse<'/devices/simulate/remove'>>>; | ||
export type DevicesSimulateRemoveOptions = never; |
@@ -21,3 +21,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
get simulate(): SeamHttpDevicesSimulate; | ||
delete(body?: DevicesDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: DevicesDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: DevicesGetParams): SeamHttpRequest<DevicesGetResponse, 'device'>; | ||
@@ -28,3 +28,3 @@ list(body?: DevicesListParams): SeamHttpRequest<DevicesListResponse, 'devices'>; | ||
} | ||
export type DevicesDeleteBody = RouteRequestBody<'/devices/delete'>; | ||
export type DevicesDeleteParams = RouteRequestBody<'/devices/delete'>; | ||
export type DevicesDeleteResponse = SetNonNullable<Required<RouteResponse<'/devices/delete'>>>; | ||
@@ -31,0 +31,0 @@ export type DevicesDeleteOptions = never; |
@@ -18,3 +18,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: NoiseSensorsNoiseThresholdsCreateBody): SeamHttpRequest<NoiseSensorsNoiseThresholdsCreateResponse, 'noise_threshold'>; | ||
delete(body?: NoiseSensorsNoiseThresholdsDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: NoiseSensorsNoiseThresholdsDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: NoiseSensorsNoiseThresholdsGetParams): SeamHttpRequest<NoiseSensorsNoiseThresholdsGetResponse, 'noise_threshold'>; | ||
@@ -27,3 +27,3 @@ list(body?: NoiseSensorsNoiseThresholdsListParams): SeamHttpRequest<NoiseSensorsNoiseThresholdsListResponse, 'noise_thresholds'>; | ||
export type NoiseSensorsNoiseThresholdsCreateOptions = never; | ||
export type NoiseSensorsNoiseThresholdsDeleteBody = RouteRequestBody<'/noise_sensors/noise_thresholds/delete'>; | ||
export type NoiseSensorsNoiseThresholdsDeleteParams = RouteRequestBody<'/noise_sensors/noise_thresholds/delete'>; | ||
export type NoiseSensorsNoiseThresholdsDeleteResponse = SetNonNullable<Required<RouteResponse<'/noise_sensors/noise_thresholds/delete'>>>; | ||
@@ -30,0 +30,0 @@ export type NoiseSensorsNoiseThresholdsDeleteOptions = never; |
@@ -19,6 +19,6 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
get simulate(): SeamHttpPhonesSimulate; | ||
deactivate(body?: PhonesDeactivateBody): SeamHttpRequest<void, undefined>; | ||
deactivate(body?: PhonesDeactivateParams): SeamHttpRequest<void, undefined>; | ||
list(body?: PhonesListParams): SeamHttpRequest<PhonesListResponse, 'phones'>; | ||
} | ||
export type PhonesDeactivateBody = RouteRequestBody<'/phones/deactivate'>; | ||
export type PhonesDeactivateParams = RouteRequestBody<'/phones/deactivate'>; | ||
export type PhonesDeactivateResponse = SetNonNullable<Required<RouteResponse<'/phones/deactivate'>>>; | ||
@@ -25,0 +25,0 @@ export type PhonesDeactivateOptions = never; |
@@ -18,3 +18,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: ThermostatsClimateSettingSchedulesCreateBody): SeamHttpRequest<ThermostatsClimateSettingSchedulesCreateResponse, 'climate_setting_schedule'>; | ||
delete(body?: ThermostatsClimateSettingSchedulesDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: ThermostatsClimateSettingSchedulesDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: ThermostatsClimateSettingSchedulesGetParams): SeamHttpRequest<ThermostatsClimateSettingSchedulesGetResponse, 'climate_setting_schedule'>; | ||
@@ -27,3 +27,3 @@ list(body?: ThermostatsClimateSettingSchedulesListParams): SeamHttpRequest<ThermostatsClimateSettingSchedulesListResponse, 'climate_setting_schedules'>; | ||
export type ThermostatsClimateSettingSchedulesCreateOptions = never; | ||
export type ThermostatsClimateSettingSchedulesDeleteBody = RouteRequestBody<'/thermostats/climate_setting_schedules/delete'>; | ||
export type ThermostatsClimateSettingSchedulesDeleteParams = RouteRequestBody<'/thermostats/climate_setting_schedules/delete'>; | ||
export type ThermostatsClimateSettingSchedulesDeleteResponse = SetNonNullable<Required<RouteResponse<'/thermostats/climate_setting_schedules/delete'>>>; | ||
@@ -30,0 +30,0 @@ export type ThermostatsClimateSettingSchedulesDeleteOptions = never; |
@@ -17,3 +17,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>; | ||
delete(body?: UserIdentitiesEnrollmentAutomationsDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: UserIdentitiesEnrollmentAutomationsDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: UserIdentitiesEnrollmentAutomationsGetParams): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsGetResponse, 'enrollment_automation'>; | ||
@@ -23,3 +23,3 @@ launch(body?: UserIdentitiesEnrollmentAutomationsLaunchBody): SeamHttpRequest<UserIdentitiesEnrollmentAutomationsLaunchResponse, 'enrollment_automation'>; | ||
} | ||
export type UserIdentitiesEnrollmentAutomationsDeleteBody = RouteRequestBody<'/user_identities/enrollment_automations/delete'>; | ||
export type UserIdentitiesEnrollmentAutomationsDeleteParams = RouteRequestBody<'/user_identities/enrollment_automations/delete'>; | ||
export type UserIdentitiesEnrollmentAutomationsDeleteResponse = SetNonNullable<Required<RouteResponse<'/user_identities/enrollment_automations/delete'>>>; | ||
@@ -26,0 +26,0 @@ export type UserIdentitiesEnrollmentAutomationsDeleteOptions = never; |
@@ -21,3 +21,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: UserIdentitiesCreateBody): SeamHttpRequest<UserIdentitiesCreateResponse, 'user_identity'>; | ||
delete(body?: UserIdentitiesDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: UserIdentitiesDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: UserIdentitiesGetParams): SeamHttpRequest<UserIdentitiesGetResponse, 'user_identity'>; | ||
@@ -29,4 +29,4 @@ grantAccessToDevice(body?: UserIdentitiesGrantAccessToDeviceBody): SeamHttpRequest<void, undefined>; | ||
listAcsUsers(body?: UserIdentitiesListAcsUsersParams): SeamHttpRequest<UserIdentitiesListAcsUsersResponse, 'acs_users'>; | ||
removeAcsUser(body?: UserIdentitiesRemoveAcsUserBody): SeamHttpRequest<void, undefined>; | ||
revokeAccessToDevice(body?: UserIdentitiesRevokeAccessToDeviceBody): SeamHttpRequest<void, undefined>; | ||
removeAcsUser(body?: UserIdentitiesRemoveAcsUserParams): SeamHttpRequest<void, undefined>; | ||
revokeAccessToDevice(body?: UserIdentitiesRevokeAccessToDeviceParams): SeamHttpRequest<void, undefined>; | ||
update(body?: UserIdentitiesUpdateBody): SeamHttpRequest<void, undefined>; | ||
@@ -40,3 +40,3 @@ } | ||
export type UserIdentitiesCreateOptions = never; | ||
export type UserIdentitiesDeleteBody = RouteRequestBody<'/user_identities/delete'>; | ||
export type UserIdentitiesDeleteParams = RouteRequestBody<'/user_identities/delete'>; | ||
export type UserIdentitiesDeleteResponse = SetNonNullable<Required<RouteResponse<'/user_identities/delete'>>>; | ||
@@ -62,6 +62,6 @@ export type UserIdentitiesDeleteOptions = never; | ||
export type UserIdentitiesListAcsUsersOptions = never; | ||
export type UserIdentitiesRemoveAcsUserBody = RouteRequestBody<'/user_identities/remove_acs_user'>; | ||
export type UserIdentitiesRemoveAcsUserParams = RouteRequestBody<'/user_identities/remove_acs_user'>; | ||
export type UserIdentitiesRemoveAcsUserResponse = SetNonNullable<Required<RouteResponse<'/user_identities/remove_acs_user'>>>; | ||
export type UserIdentitiesRemoveAcsUserOptions = never; | ||
export type UserIdentitiesRevokeAccessToDeviceBody = RouteRequestBody<'/user_identities/revoke_access_to_device'>; | ||
export type UserIdentitiesRevokeAccessToDeviceParams = RouteRequestBody<'/user_identities/revoke_access_to_device'>; | ||
export type UserIdentitiesRevokeAccessToDeviceResponse = SetNonNullable<Required<RouteResponse<'/user_identities/revoke_access_to_device'>>>; | ||
@@ -68,0 +68,0 @@ export type UserIdentitiesRevokeAccessToDeviceOptions = never; |
@@ -18,3 +18,3 @@ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'; | ||
create(body?: WebhooksCreateBody): SeamHttpRequest<WebhooksCreateResponse, 'webhook'>; | ||
delete(body?: WebhooksDeleteBody): SeamHttpRequest<void, undefined>; | ||
delete(body?: WebhooksDeleteParams): SeamHttpRequest<void, undefined>; | ||
get(body?: WebhooksGetParams): SeamHttpRequest<WebhooksGetResponse, 'webhook'>; | ||
@@ -27,3 +27,3 @@ list(body?: WebhooksListParams): SeamHttpRequest<WebhooksListResponse, 'webhooks'>; | ||
export type WebhooksCreateOptions = never; | ||
export type WebhooksDeleteBody = RouteRequestBody<'/webhooks/delete'>; | ||
export type WebhooksDeleteParams = RouteRequestBody<'/webhooks/delete'>; | ||
export type WebhooksDeleteResponse = SetNonNullable<Required<RouteResponse<'/webhooks/delete'>>>; | ||
@@ -30,0 +30,0 @@ export type WebhooksDeleteOptions = never; |
@@ -1,2 +0,2 @@ | ||
declare const seamapiJavascriptHttpVersion = "0.30.0"; | ||
declare const seamapiJavascriptHttpVersion = "0.30.1"; | ||
export default seamapiJavascriptHttpVersion; |
@@ -1,3 +0,3 @@ | ||
const seamapiJavascriptHttpVersion = '0.30.0'; | ||
const seamapiJavascriptHttpVersion = '0.30.1'; | ||
export default seamapiJavascriptHttpVersion; | ||
//# sourceMappingURL=version.js.map |
The MIT License (MIT) | ||
Copyright (c) 2021-2023 Seam Labs, Inc. | ||
Copyright (c) 2021-2024 Seam Labs, Inc. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of |
{ | ||
"name": "@seamapi/http", | ||
"version": "0.30.0", | ||
"version": "0.30.1", | ||
"description": "JavaScript HTTP client for the Seam API written in TypeScript.", | ||
@@ -106,3 +106,3 @@ "type": "module", | ||
"ava": "^5.0.1", | ||
"c8": "^9.0.0", | ||
"c8": "^10.1.2", | ||
"change-case": "^5.0.2", | ||
@@ -118,3 +118,3 @@ "concurrently": "^8.2.1", | ||
"eslint-plugin-unused-imports": "^3.0.0", | ||
"execa": "^8.0.1", | ||
"execa": "^9.2.0", | ||
"landlubber": "^2.0.0", | ||
@@ -128,4 +128,4 @@ "nock": "^13.4.0", | ||
"typedoc": "^0.25.2", | ||
"typescript": "~5.3.0" | ||
"typescript": "~5.3.3" | ||
} | ||
} |
@@ -169,3 +169,3 @@ /* | ||
delete( | ||
body?: AccessCodesUnmanagedDeleteBody, | ||
body?: AccessCodesUnmanagedDeleteParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -223,3 +223,3 @@ return new SeamHttpRequest(this, { | ||
export type AccessCodesUnmanagedDeleteBody = | ||
export type AccessCodesUnmanagedDeleteParams = | ||
RouteRequestBody<'/access_codes/unmanaged/delete'> | ||
@@ -226,0 +226,0 @@ |
@@ -189,3 +189,3 @@ /* | ||
delete(body?: AccessCodesDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: AccessCodesDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -273,3 +273,3 @@ path: '/access_codes/delete', | ||
export type AccessCodesDeleteBody = RouteRequestBody<'/access_codes/delete'> | ||
export type AccessCodesDeleteParams = RouteRequestBody<'/access_codes/delete'> | ||
@@ -276,0 +276,0 @@ export type AccessCodesDeleteResponse = SetNonNullable< |
@@ -200,3 +200,3 @@ /* | ||
removeUser( | ||
body?: AcsAccessGroupsRemoveUserBody, | ||
body?: AcsAccessGroupsRemoveUserParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -248,3 +248,3 @@ return new SeamHttpRequest(this, { | ||
export type AcsAccessGroupsRemoveUserBody = | ||
export type AcsAccessGroupsRemoveUserParams = | ||
RouteRequestBody<'/acs/access_groups/remove_user'> | ||
@@ -251,0 +251,0 @@ |
@@ -177,3 +177,3 @@ /* | ||
delete(body?: AcsCredentialsDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: AcsCredentialsDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -262,3 +262,3 @@ path: '/acs/credentials/delete', | ||
export type AcsCredentialsDeleteBody = | ||
export type AcsCredentialsDeleteParams = | ||
RouteRequestBody<'/acs/credentials/delete'> | ||
@@ -265,0 +265,0 @@ |
@@ -179,3 +179,3 @@ /* | ||
delete(body?: AcsUsersDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: AcsUsersDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -223,3 +223,3 @@ path: '/acs/users/delete', | ||
removeFromAccessGroup( | ||
body?: AcsUsersRemoveFromAccessGroupBody, | ||
body?: AcsUsersRemoveFromAccessGroupParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -235,3 +235,3 @@ return new SeamHttpRequest(this, { | ||
revokeAccessToAllEntrances( | ||
body?: AcsUsersRevokeAccessToAllEntrancesBody, | ||
body?: AcsUsersRevokeAccessToAllEntrancesParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -291,3 +291,3 @@ return new SeamHttpRequest(this, { | ||
export type AcsUsersDeleteBody = RouteRequestBody<'/acs/users/delete'> | ||
export type AcsUsersDeleteParams = RouteRequestBody<'/acs/users/delete'> | ||
@@ -325,3 +325,3 @@ export type AcsUsersDeleteResponse = SetNonNullable< | ||
export type AcsUsersRemoveFromAccessGroupBody = | ||
export type AcsUsersRemoveFromAccessGroupParams = | ||
RouteRequestBody<'/acs/users/remove_from_access_group'> | ||
@@ -335,3 +335,3 @@ | ||
export type AcsUsersRevokeAccessToAllEntrancesBody = | ||
export type AcsUsersRevokeAccessToAllEntrancesParams = | ||
RouteRequestBody<'/acs/users/revoke_access_to_all_entrances'> | ||
@@ -338,0 +338,0 @@ |
@@ -166,3 +166,3 @@ /* | ||
delete(body?: ClientSessionsDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: ClientSessionsDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -220,3 +220,3 @@ path: '/client_sessions/delete', | ||
revoke(body?: ClientSessionsRevokeBody): SeamHttpRequest<void, undefined> { | ||
revoke(body?: ClientSessionsRevokeParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -240,3 +240,3 @@ path: '/client_sessions/revoke', | ||
export type ClientSessionsDeleteBody = | ||
export type ClientSessionsDeleteParams = | ||
RouteRequestBody<'/client_sessions/delete'> | ||
@@ -284,3 +284,3 @@ | ||
export type ClientSessionsRevokeBody = | ||
export type ClientSessionsRevokeParams = | ||
RouteRequestBody<'/client_sessions/revoke'> | ||
@@ -287,0 +287,0 @@ |
@@ -168,3 +168,3 @@ /* | ||
delete(body?: ConnectWebviewsDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: ConnectWebviewsDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -210,3 +210,3 @@ path: '/connect_webviews/delete', | ||
export type ConnectWebviewsDeleteBody = | ||
export type ConnectWebviewsDeleteParams = | ||
RouteRequestBody<'/connect_webviews/delete'> | ||
@@ -213,0 +213,0 @@ |
@@ -157,3 +157,5 @@ /* | ||
delete(body?: ConnectedAccountsDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete( | ||
body?: ConnectedAccountsDeleteParams, | ||
): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -201,3 +203,3 @@ path: '/connected_accounts/delete', | ||
export type ConnectedAccountsDeleteBody = | ||
export type ConnectedAccountsDeleteParams = | ||
RouteRequestBody<'/connected_accounts/delete'> | ||
@@ -204,0 +206,0 @@ |
@@ -157,3 +157,3 @@ /* | ||
remove(body?: DevicesSimulateRemoveBody): SeamHttpRequest<void, undefined> { | ||
remove(body?: DevicesSimulateRemoveParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -168,3 +168,3 @@ path: '/devices/simulate/remove', | ||
export type DevicesSimulateRemoveBody = | ||
export type DevicesSimulateRemoveParams = | ||
RouteRequestBody<'/devices/simulate/remove'> | ||
@@ -171,0 +171,0 @@ |
@@ -167,3 +167,3 @@ /* | ||
delete(body?: DevicesDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: DevicesDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -218,3 +218,3 @@ path: '/devices/delete', | ||
export type DevicesDeleteBody = RouteRequestBody<'/devices/delete'> | ||
export type DevicesDeleteParams = RouteRequestBody<'/devices/delete'> | ||
@@ -221,0 +221,0 @@ export type DevicesDeleteResponse = SetNonNullable< |
@@ -175,3 +175,3 @@ /* | ||
delete( | ||
body?: NoiseSensorsNoiseThresholdsDeleteBody, | ||
body?: NoiseSensorsNoiseThresholdsDeleteParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -235,3 +235,3 @@ return new SeamHttpRequest(this, { | ||
export type NoiseSensorsNoiseThresholdsDeleteBody = | ||
export type NoiseSensorsNoiseThresholdsDeleteParams = | ||
RouteRequestBody<'/noise_sensors/noise_thresholds/delete'> | ||
@@ -238,0 +238,0 @@ |
@@ -162,3 +162,3 @@ /* | ||
deactivate(body?: PhonesDeactivateBody): SeamHttpRequest<void, undefined> { | ||
deactivate(body?: PhonesDeactivateParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -182,3 +182,3 @@ path: '/phones/deactivate', | ||
export type PhonesDeactivateBody = RouteRequestBody<'/phones/deactivate'> | ||
export type PhonesDeactivateParams = RouteRequestBody<'/phones/deactivate'> | ||
@@ -185,0 +185,0 @@ export type PhonesDeactivateResponse = SetNonNullable< |
@@ -175,3 +175,3 @@ /* | ||
delete( | ||
body?: ThermostatsClimateSettingSchedulesDeleteBody, | ||
body?: ThermostatsClimateSettingSchedulesDeleteParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -235,3 +235,3 @@ return new SeamHttpRequest(this, { | ||
export type ThermostatsClimateSettingSchedulesDeleteBody = | ||
export type ThermostatsClimateSettingSchedulesDeleteParams = | ||
RouteRequestBody<'/thermostats/climate_setting_schedules/delete'> | ||
@@ -238,0 +238,0 @@ |
@@ -161,3 +161,3 @@ /* | ||
delete( | ||
body?: UserIdentitiesEnrollmentAutomationsDeleteBody, | ||
body?: UserIdentitiesEnrollmentAutomationsDeleteParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -215,3 +215,3 @@ return new SeamHttpRequest(this, { | ||
export type UserIdentitiesEnrollmentAutomationsDeleteBody = | ||
export type UserIdentitiesEnrollmentAutomationsDeleteParams = | ||
RouteRequestBody<'/user_identities/enrollment_automations/delete'> | ||
@@ -218,0 +218,0 @@ |
@@ -187,3 +187,3 @@ /* | ||
delete(body?: UserIdentitiesDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: UserIdentitiesDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -264,3 +264,3 @@ path: '/user_identities/delete', | ||
removeAcsUser( | ||
body?: UserIdentitiesRemoveAcsUserBody, | ||
body?: UserIdentitiesRemoveAcsUserParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -276,3 +276,3 @@ return new SeamHttpRequest(this, { | ||
revokeAccessToDevice( | ||
body?: UserIdentitiesRevokeAccessToDeviceBody, | ||
body?: UserIdentitiesRevokeAccessToDeviceParams, | ||
): SeamHttpRequest<void, undefined> { | ||
@@ -315,3 +315,3 @@ return new SeamHttpRequest(this, { | ||
export type UserIdentitiesDeleteBody = | ||
export type UserIdentitiesDeleteParams = | ||
RouteRequestBody<'/user_identities/delete'> | ||
@@ -377,3 +377,3 @@ | ||
export type UserIdentitiesRemoveAcsUserBody = | ||
export type UserIdentitiesRemoveAcsUserParams = | ||
RouteRequestBody<'/user_identities/remove_acs_user'> | ||
@@ -387,3 +387,3 @@ | ||
export type UserIdentitiesRevokeAccessToDeviceBody = | ||
export type UserIdentitiesRevokeAccessToDeviceParams = | ||
RouteRequestBody<'/user_identities/revoke_access_to_device'> | ||
@@ -390,0 +390,0 @@ |
@@ -168,3 +168,3 @@ /* | ||
delete(body?: WebhooksDeleteBody): SeamHttpRequest<void, undefined> { | ||
delete(body?: WebhooksDeleteParams): SeamHttpRequest<void, undefined> { | ||
return new SeamHttpRequest(this, { | ||
@@ -218,3 +218,3 @@ path: '/webhooks/delete', | ||
export type WebhooksDeleteBody = RouteRequestBody<'/webhooks/delete'> | ||
export type WebhooksDeleteParams = RouteRequestBody<'/webhooks/delete'> | ||
@@ -221,0 +221,0 @@ export type WebhooksDeleteResponse = SetNonNullable< |
@@ -1,3 +0,3 @@ | ||
const seamapiJavascriptHttpVersion = '0.30.0' | ||
const seamapiJavascriptHttpVersion = '0.30.1' | ||
export default seamapiJavascriptHttpVersion |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1544506
18627