Class SeamHttpActionAttempts
Constructors
constructor
- new SeamHttpActionAttempts(apiKeyOrOptions?): SeamHttpActionAttempts
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
get
- get(body?, options?): SeamHttpRequest<SetNonNullable<Required<{
action_attempt:
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: {
acs_credential_on_encoder: {
card_number: null | string;
created_at: null | string;
ends_at: null | string;
is_issued: null | boolean;
starts_at: null | string;
visionline_metadata?: {
cancelled: boolean;
card_format: (...) | (...);
card_holder?: (...) | (...);
card_id: string;
common_acs_entrance_ids?: (...) | (...);
discarded: boolean;
expired: boolean;
guest_acs_entrance_ids?: (...) | (...);
number_of_issued_cards: number;
overridden?: (...) | (...) | (...);
overwritten: boolean;
pending_auto_update: boolean;
};
};
acs_credential_on_seam: null | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: true;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
} | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
};
warnings: {
warning_code: "acs_credential_on_encoder_out_of_sync";
warning_message: string;
}[];
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: {
message: string;
type: "uncategorized_error";
} | {
message: string;
type: "action_attempt_expired";
} | {
message: string;
type: "no_card_on_encoder";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: true;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: (...) | (...) | (...);
card_function_type: (...) | (...);
card_id?: (...) | (...);
common_acs_entrance_ids?: (...) | (...);
credential_id?: (...) | (...);
guest_acs_entrance_ids?: (...) | (...);
is_valid?: (...) | (...) | (...);
joiner_acs_credential_ids?: (...) | (...);
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
} | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: (...) | (...) | (...);
card_function_type: (...) | (...);
card_id?: (...) | (...);
common_acs_entrance_ids?: (...) | (...);
credential_id?: (...) | (...);
guest_acs_entrance_ids?: (...) | (...);
is_valid?: (...) | (...) | (...);
joiner_acs_credential_ids?: (...) | (...);
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error:
| {
message: string;
type: "uncategorized_error";
}
| {
message: string;
type: "action_attempt_expired";
}
| {
message: string;
type: "no_card_on_encoder";
}
| {
message: string;
type: "incompatible_card_format";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
};
}>, "action_attempt">, "action_attempt"> Parameters
Optional
body: {
action_attempt_id: string;
}action_attempt_id: string
- options: Pick<SeamHttpRequestOptions, "waitForActionAttempt"> = {}
Returns SeamHttpRequest<SetNonNullable<Required<{
action_attempt:
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: {
acs_credential_on_encoder: {
card_number: null | string;
created_at: null | string;
ends_at: null | string;
is_issued: null | boolean;
starts_at: null | string;
visionline_metadata?: {
cancelled: boolean;
card_format: (...) | (...);
card_holder?: (...) | (...);
card_id: string;
common_acs_entrance_ids?: (...) | (...);
discarded: boolean;
expired: boolean;
guest_acs_entrance_ids?: (...) | (...);
number_of_issued_cards: number;
overridden?: (...) | (...) | (...);
overwritten: boolean;
pending_auto_update: boolean;
};
};
acs_credential_on_seam: null | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: true;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
} | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
};
warnings: {
warning_code: "acs_credential_on_encoder_out_of_sync";
warning_message: string;
}[];
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: {
message: string;
type: "uncategorized_error";
} | {
message: string;
type: "action_attempt_expired";
} | {
message: string;
type: "no_card_on_encoder";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: true;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: (...) | (...) | (...);
card_function_type: (...) | (...);
card_id?: (...) | (...);
common_acs_entrance_ids?: (...) | (...);
credential_id?: (...) | (...);
guest_acs_entrance_ids?: (...) | (...);
is_valid?: (...) | (...) | (...);
joiner_acs_credential_ids?: (...) | (...);
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
} | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: string;
message: string;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: (...) | (...) | (...);
card_function_type: (...) | (...);
card_id?: (...) | (...);
common_acs_entrance_ids?: (...) | (...);
credential_id?: (...) | (...);
guest_acs_entrance_ids?: (...) | (...);
is_valid?: (...) | (...) | (...);
joiner_acs_credential_ids?: (...) | (...);
};
warnings: {
message: string;
warning_code: string;
}[];
workspace_id: string;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error:
| {
message: string;
type: "uncategorized_error";
}
| {
message: string;
type: "action_attempt_expired";
}
| {
message: string;
type: "no_card_on_encoder";
}
| {
message: string;
type: "incompatible_card_format";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
};
}>, "action_attempt">, "action_attempt">
list
- list(body?): SeamHttpRequest<SetNonNullable<Required<{
action_attempts: (
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: {
acs_credential_on_encoder: {
card_number: null | string;
created_at: null | string;
ends_at: null | string;
is_issued: null | boolean;
starts_at: null | string;
visionline_metadata?: {
cancelled: ...;
card_format: ...;
card_holder?: ...;
card_id: ...;
common_acs_entrance_ids?: ...;
discarded: ...;
expired: ...;
guest_acs_entrance_ids?: ...;
number_of_issued_cards: ...;
overridden?: ...;
overwritten: ...;
pending_auto_update: ...;
};
};
acs_credential_on_seam: null | {
access_method: (...) | (...) | (...);
acs_credential_id: string;
acs_credential_pool_id?: (...) | (...);
acs_system_id: string;
acs_user_id?: (...) | (...);
card_number?: (...) | (...) | (...);
code?: (...) | (...) | (...);
created_at: string;
display_name: string;
ends_at?: (...) | (...);
errors: (...)[];
external_type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
external_type_display_name?: (...) | (...);
is_issued?: (...) | (...) | (...);
is_latest_desired_state_synced_with_provider?: (...) | (...) | (...);
is_managed: true;
is_multi_phone_sync_credential?: (...) | (...) | (...);
issued_at?: (...) | (...) | (...);
latest_desired_state_synced_with_provider_at?: (...) | (...);
parent_acs_credential_id?: (...) | (...);
starts_at?: (...) | (...);
visionline_metadata?: (...) | (...);
warnings: (...)[];
workspace_id: string;
} | {
access_method: (...) | (...) | (...);
acs_credential_id: string;
acs_credential_pool_id?: (...) | (...);
acs_system_id: string;
acs_user_id?: (...) | (...);
card_number?: (...) | (...) | (...);
code?: (...) | (...) | (...);
created_at: string;
display_name: string;
ends_at?: (...) | (...);
errors: (...)[];
external_type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
external_type_display_name?: (...) | (...);
is_issued?: (...) | (...) | (...);
is_latest_desired_state_synced_with_provider?: (...) | (...) | (...);
is_managed: false;
is_multi_phone_sync_credential?: (...) | (...) | (...);
issued_at?: (...) | (...) | (...);
latest_desired_state_synced_with_provider_at?: (...) | (...);
parent_acs_credential_id?: (...) | (...);
starts_at?: (...) | (...);
visionline_metadata?: (...) | (...);
warnings: (...)[];
workspace_id: string;
};
warnings: {
warning_code: "acs_credential_on_encoder_out_of_sync";
warning_message: string;
}[];
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: {
message: string;
type: "uncategorized_error";
} | {
message: string;
type: "action_attempt_expired";
} | {
message: string;
type: "no_card_on_encoder";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: true;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
} | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error:
| {
message: string;
type: "uncategorized_error";
}
| {
message: string;
type: "action_attempt_expired";
}
| {
message: string;
type: "no_card_on_encoder";
}
| {
message: string;
type: "incompatible_card_format";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
})[];
}>, "action_attempts">, "action_attempts"> Parameters
Optional
body: {
action_attempt_ids: string[];
}action_attempt_ids: string[]
Returns SeamHttpRequest<SetNonNullable<Required<{
action_attempts: (
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "LOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UNLOCK_DOOR";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: null;
result: {
acs_credential_on_encoder: {
card_number: null | string;
created_at: null | string;
ends_at: null | string;
is_issued: null | boolean;
starts_at: null | string;
visionline_metadata?: {
cancelled: ...;
card_format: ...;
card_holder?: ...;
card_id: ...;
common_acs_entrance_ids?: ...;
discarded: ...;
expired: ...;
guest_acs_entrance_ids?: ...;
number_of_issued_cards: ...;
overridden?: ...;
overwritten: ...;
pending_auto_update: ...;
};
};
acs_credential_on_seam: null | {
access_method: (...) | (...) | (...);
acs_credential_id: string;
acs_credential_pool_id?: (...) | (...);
acs_system_id: string;
acs_user_id?: (...) | (...);
card_number?: (...) | (...) | (...);
code?: (...) | (...) | (...);
created_at: string;
display_name: string;
ends_at?: (...) | (...);
errors: (...)[];
external_type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
external_type_display_name?: (...) | (...);
is_issued?: (...) | (...) | (...);
is_latest_desired_state_synced_with_provider?: (...) | (...) | (...);
is_managed: true;
is_multi_phone_sync_credential?: (...) | (...) | (...);
issued_at?: (...) | (...) | (...);
latest_desired_state_synced_with_provider_at?: (...) | (...);
parent_acs_credential_id?: (...) | (...);
starts_at?: (...) | (...);
visionline_metadata?: (...) | (...);
warnings: (...)[];
workspace_id: string;
} | {
access_method: (...) | (...) | (...);
acs_credential_id: string;
acs_credential_pool_id?: (...) | (...);
acs_system_id: string;
acs_user_id?: (...) | (...);
card_number?: (...) | (...) | (...);
code?: (...) | (...) | (...);
created_at: string;
display_name: string;
ends_at?: (...) | (...);
errors: (...)[];
external_type?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
external_type_display_name?: (...) | (...);
is_issued?: (...) | (...) | (...);
is_latest_desired_state_synced_with_provider?: (...) | (...) | (...);
is_managed: false;
is_multi_phone_sync_credential?: (...) | (...) | (...);
issued_at?: (...) | (...) | (...);
latest_desired_state_synced_with_provider_at?: (...) | (...);
parent_acs_credential_id?: (...) | (...);
starts_at?: (...) | (...);
visionline_metadata?: (...) | (...);
warnings: (...)[];
workspace_id: string;
};
warnings: {
warning_code: "acs_credential_on_encoder_out_of_sync";
warning_message: string;
}[];
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SCAN_CREDENTIAL";
error: {
message: string;
type: "uncategorized_error";
} | {
message: string;
type: "action_attempt_expired";
} | {
message: string;
type: "no_card_on_encoder";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error: null;
result: {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: true;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
} | {
access_method: "code" | "card" | "mobile_key";
acs_credential_id: string;
acs_credential_pool_id?: string;
acs_system_id: string;
acs_user_id?: string;
card_number?: null | string;
code?: null | string;
created_at: string;
display_name: string;
ends_at?: string;
errors: {
error_code: ...;
message: ...;
}[];
external_type?:
| "pti_card"
| "brivo_credential"
| "hid_credential"
| "visionline_card"
| "salto_ks_credential";
external_type_display_name?: string;
is_issued?: boolean;
is_latest_desired_state_synced_with_provider?: boolean;
is_managed: false;
is_multi_phone_sync_credential?: boolean;
issued_at?: null | string;
latest_desired_state_synced_with_provider_at?: string;
parent_acs_credential_id?: string;
starts_at?: string;
visionline_metadata?: {
auto_join?: ...;
card_function_type: ...;
card_id?: ...;
common_acs_entrance_ids?: ...;
credential_id?: ...;
guest_acs_entrance_ids?: ...;
is_valid?: ...;
joiner_acs_credential_ids?: ...;
};
warnings: {
message: ...;
warning_code: ...;
}[];
workspace_id: string;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ENCODE_CREDENTIAL";
error:
| {
message: string;
type: "uncategorized_error";
}
| {
message: string;
type: "action_attempt_expired";
}
| {
message: string;
type: "no_card_on_encoder";
}
| {
message: string;
type: "incompatible_card_format";
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "RESET_SANDBOX_WORKSPACE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_HEAT_COOL";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_FAN_MODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SET_THERMOSTAT_OFF";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "ACTIVATE_CLIMATE_PRESET";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "SYNC_ACCESS_CODES";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: null;
result: {
access_code?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_ACCESS_CODE";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "CREATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: null;
result: {};
status: "success";
}
| {
action_attempt_id: string;
action_type: "DELETE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: null;
status: "pending";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: null;
result: {
noise_threshold?: any;
};
status: "success";
}
| {
action_attempt_id: string;
action_type: "UPDATE_NOISE_THRESHOLD";
error: {
message: string;
type: string;
};
result: null;
status: "error";
})[];
}>, "action_attempts">, "action_attempts">
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpActionAttempts
Static
fromClient
- fromClient(client, options?): SeamHttpActionAttempts
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpActionAttempts
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpActionAttempts
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpActionAttempts
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpActionAttempts>