//#region src/application/contracts/userDirectoryContracts.types.ts
function withUserAccountLoginMethodsDefaults(input) {
	const loginMethods = input.loginMethods;
	return {
		...input,
		loginMethods: Array.isArray(loginMethods) ? loginMethods : []
	};
}
function withInviteUserResponseLoginMethodsDefaults(input) {
	return {
		inviteUrl: input.inviteUrl,
		user: withUserAccountLoginMethodsDefaults(input.user)
	};
}

//#endregion
export { withInviteUserResponseLoginMethodsDefaults, withUserAccountLoginMethodsDefaults };
//# sourceMappingURL=dto.js.map