public function registerCustomer(RegisterCustomer $request): JsonResource 	{ 		$market = Market::firstWhere('domain', $request->market_domain);  		$user = Customer::create([ 			'surname' => $request->surname, 			'oib' => $request->oib, 			'date_of_birth' => formatLocalTimestamp($request->date_of_birth, 'Y-m-d'), 			'phone_number' => $request->phone_number, 			'registered_from' => $market->id, 			'last_accessed_market' => $market->id, 		])->authParent()->create([ 			'name' => $request->name, 			'role_id' => setting('registration_api_role_id'), 			'email' => $request->email, 			'password' => $request->password, 			'timezone' => $request->timezone ?? 'UTC', 			'allow_push_notifications' => false, 		]);  		return $user->getModelResource(); 	}